开发者

PLINQ for DataTables

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜