Spatial DataReader and Wrapping Providers in EF6

entity-framework entity-framework-6

Accepted Answer

It appears that the provider model has a flaw. The SetParameterValue method of SqlProviderServices transforms EDM spatial types to SqlServer spatial types, however there is no public way for your wrapped provider to call this method. To keep track of this, I made the bug https://entityframework.codeplex.com/workitem/1867. Calling the internal SetParameterValue function via reflection would be an unsightly solution.

1
11/26/2013 1:23:04 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow