开发者

Trackablecollection problem in EF

开发者 https://www.devze.com 2023-01-07 19:35 出处:网络
I newbie in EF. I have Table A linked together to table B, by passing a primary ID from table A which is a secondary ID on table B Iam trying 开发者_StackOverflow中文版to retrieve an object from tabl

I newbie in EF.

I have Table A linked together to table B, by passing a primary ID from table A which is a secondary ID on table B Iam trying 开发者_StackOverflow中文版to retrieve an object from table B. But I am getting trackableCollection'1[Object name(from table B)]

Any suggestions? I am trying to retrieve using stored proc here is the code:

select * from tableB as da left outer join tableA as cr on da.ID = cr.ID where da.ID = @d

0

精彩评论

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