开发者

How can I tell LINQ to construct my entities with my own query data

开发者 https://www.devze.com 2022-12-16 12:38 出处:网络
I know it will sound strange but please don\'t mind: In C#, let\'s say I manuall开发者_JS百科y do with ADO or anything else:

I know it will sound strange but please don't mind:

In C#, let's say I manuall开发者_JS百科y do with ADO or anything else:

SELECT * FROM Member

Then I want LINQ to construct my Member entities from the data I just retrieved myself from the query...

Do you have an idea if it's possible?

Thanks


I found it, sorry:

Context::Translate(DbDataReader) - Converts an existing DbDataReader to objects.

0

精彩评论

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

关注公众号