开发者

LINQ to Object to DataSet

开发者 https://www.devze.com 2022-12-29 21:06 出处:网络
Can I do a LINQ Join from a开发者_运维技巧n List to a DataSet?Are there any caveats to doing this?There are obvious performance problems ahead, depending on the size of each side of the join, so the r

Can I do a LINQ Join from a开发者_运维技巧n List to a DataSet? Are there any caveats to doing this?


There are obvious performance problems ahead, depending on the size of each side of the join, so the real caveat is scale.

You won't have to do any converting, you can select rows out of the dataset/table as you would normally with LINQ and just include an "on" clause to tell it how to compare a row to your List<T>.

0

精彩评论

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

关注公众号