본문 바로가기

DB/Entity Framework

[EntityFramework] Support Spatial Data for stored procedure on SqlServer 2008R2



edmx designer 로 sp 를 add 하면 spatial data type ( geometry/geography ) 의 class 가 edmx 에 생성되지 않습니다.


solution #1

Install service pack / feature pack
- https://goo.gl/q2xUTf


solution #2

To add scalar property in *.tt class
- https://goo.gl/xZJA42


2번 추천합니다.