You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A test retrieves single record with 13 properties by random id 500 times and deserializes it. Runs for different ORMs are mixed up randomly.
119
+
A test retrieves single record with 13 properties by random id 500 times and deserializes it. Runs for different ORMs are mixed up randomly.
120
120
All executions are synchronous.
121
121
122
122
Note that we didn't put any specific effort into improving FSharp.Data.SqlClient performance for this test. The very nature of type providers helps to produce
@@ -127,32 +127,32 @@ Keeping in mind that FSharp.Data.SqlClient is not strictly an ORM in commonly un
127
127
128
128
* Because result types are auto-generated, FSharp.Data.SqlClient doesn't support so-called [multi-mapping](http://stackoverflow.com/a/6001902/862313)
129
129
* As FSharp.Data.SqlClient is based on features specific for Sql Server 2012; Dapper provides better range of supported scenarios, including Mono
130
-
* Other side of this is that FSharp.Data.SqlClient fully supports SqlServer-specific types like [hierarchyId](http://technet.microsoft.com/en-us/library/bb677173.aspx) and
130
+
* Other side of this is that FSharp.Data.SqlClient fully supports SqlServer-specific types like [hierarchyId](http://technet.microsoft.com/en-us/library/bb677173.aspx) and
131
131
[spatial types](http://blogs.msdn.com/b/adonet/archive/2013/12/09/microsoft-sqlserver-types-nuget-package-spatial-on-azure.aspx), which Dapper does not
132
-
* FSharp.Data.SqlClient fully supports User-Defined Table Types for input parameters with no additional coding required,
132
+
* FSharp.Data.SqlClient fully supports User-Defined Table Types for input parameters with no additional coding required,
133
133
[as opposed to Dapper](http://stackoverflow.com/questions/6232978/does-dapper-support-sql-2008-table-valued-parameters)
134
-
* Dapper intentionally has no support for `SqlConnection` management; FSharp.Data.SqlClient encapsulates `SqlConnection`
134
+
* Dapper intentionally has no support for `SqlConnection` management; FSharp.Data.SqlClient encapsulates `SqlConnection`
135
135
life-cycle including asynchronous scenarios while optionally accepting external `SqlTransaction`.
136
136
137
137
Following FSharp.Data.SqlClient features are unique:
138
138
139
139
* Reasonable auto-generated result type definition so there is no need to define it in code
140
140
* This type also comes with `IDictionary<string,obj>` and `DynamicObject` implementation
141
-
* Sql command is just a string for other ORMs, while FSHarp.Data.SqlClient verifies it and figures out input parameters and output types
141
+
* Sql command is just a string for other ORMs, while FSHarp.Data.SqlClient verifies it and figures out input parameters and output types
142
142
so design-time experience is simply unparalleled
143
-
* Design-time verification means less run-time tests, less yak shaving synchronizing database schema with code definitions, and earliest possible
143
+
* Design-time verification means less run-time tests, less yak shaving synchronizing database schema with code definitions, and earliest possible
144
144
identification of bugs and mismatches
145
145
* `SqlProgrammabilityProvider` lets user to explore stored procedures and user-defined functions right from the code with IntelliSense
146
146
147
147
148
-
It is my believe that FSharp.Data.SqlClient comes closest to the mission of micro-ORM - to make conversion between data stored in database and .Net run-time types as painless as possible
148
+
It is my believe that FSharp.Data.SqlClient comes closest to the mission of micro-ORM - to make conversion between data stored in database and .Net run-time types as painless as possible
149
149
while keeping away from [object-relational impedance mismatch](http://en.wikipedia.org/wiki/Object-relational_impedance_mismatch)
150
150
as described in famous blog [The Vietnam of Computer Science](http://blogs.tedneward.com/2006/06/26/The+Vietnam+Of+Computer+Science.aspx) by Ted Neward.
0 commit comments