If I had both SQL Server 2008 and SQL Server 2012 installed locally, I would simply try this for myself; however I only have the newer version installed and would like to keep it that way.
- SQL Server 2008 comes with an assembly
Microsoft.SqlServer.Types.dll
, major version 10. - SQL Server 2012 comes with an assembly
Microsoft.SqlServer.Types.dll
, major version 11.
Among other things, both assemblies expose a SqlGeometryBuilder
type. The one notable difference between the two assembly versions is that the 2012 type has an additional overloaded method AddCircularArc
, and the 2008 type does not.
Since it's not exactly trivial (and perhaps a bad idea) to reference both assemblies in parallel, I wonder whether I can just use the 2012 version — even against a SQL Server 2008 instance, as long as I don't make use of AddCircularArc
.
Can anyone share their experience if they have tried this?