FSharp.Data.SqlClient icon indicating copy to clipboard operation
FSharp.Data.SqlClient copied to clipboard

Remove "Provider" post-fix.

Open dmitry-a-morozov opened this issue 9 years ago • 0 comments

SqlCommandProvider -> SqlCommand SqlEnumProvider -> SqlEnum

"Provider" post-fix is noise and was used initially mostly because lack of TP dev experience. This will be BREAKING CHANGE. The first rename can create naming conflict problem when both .NET BCL System.Data.SqlClient and FSharp.Data namespaces are open. Workarounds:

  • Use full type name e.g. let cmd = new System.Data.SqlClient.SqlCommand()
  • Use type alias for BCL types from System.Data.SqlClient Overall feels like not a big deal because it's very rare that both raw ADO.NET and FSharp.Data.SqlClient used intensively in a same file.

P.S. SqlProgrammabilityProvider becomes SqlClient. See issue #161

dmitry-a-morozov avatar Sep 21 '15 02:09 dmitry-a-morozov