Is it possible to apply PLinq to the next code:
开发者_如何学C var query = from x in Table1.AsEnumerable()
join y in Table2.AsEnumerable() on
x.Field<string>("Field1").ToLower() equals
y.Field<string>("Field1").ToLower()
where (x.Field<bool>("Field2") == false)
select x;
foreach (var row in query)
row.SetField<bool>("Field2", true);
Any improving advances are appreciated a lot.
精彩评论