开发者

How to map a Stored proc result to an existing DA class

开发者 https://www.devze.com 2022-12-30 22:55 出处:网络
When I use SQLMetal to creat开发者_如何学Ce the linq version of one of my stored procs it creates a returned class specific to the proc - I want to map the result to an existing DA table class.

When I use SQLMetal to creat开发者_如何学Ce the linq version of one of my stored procs it creates a returned class specific to the proc - I want to map the result to an existing DA table class.

any ideas?


I would advise switching from LINQ to SQL to Entity Framework. This is a known issue and has been resolved in EF4 as it allows you to map the return of an SP to a particular data structure.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号