ef6 (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번 추천합니다. EF6 sp 반환셋을 group by 할때 var result = (from r in (connect.Edumate.sMessageReceive(data.startDate, data.endDate, studentList, "", "") .Select(x => new ListItem { Content = x.Content, RegistDate = x.RegistDate })) group r by r.Content into g select new { Content = g.Key, RegistDate = g.Select(x => x.RegistDate).Distinct().FirstOrDefault() } ); 이전 1 다음