type (2) 썸네일형 리스트형 [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번 추천합니다. DbArithmeticExpression arguments must have a numeric common type 유발 소스 var attachFileList = context.AttachFile.Where(x => x.CHECK_DATE.Equals(null) || ( !x.CHECK_DATE.Equals(null) && ((TimeSpan)(DateTime.Now – (DateTime)x.CHECK_DATE)).TotalDays > 30 )).ToList(); -> DbArithmeticExpression arguments must have a numeric common type where 조건절에서 datetime 과 datetime 간의 diff 을 수행하려는 구문에 발생합니다. Mssql sp 에서는 문제없이 수행되는 구문이지만 EntityFramework 에서는 조건절의 Datetime 직접 비교는 지원하.. 이전 1 다음