DataTable to LINQ entity

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
maxcpr
Posts: 33
Joined: Wed 10 Dec 2008 14:46

DataTable to LINQ entity

Post by maxcpr » Mon 21 Jun 2010 09:58

Hello !

I'm new in LINQ. Would you suggest me how i can populate old-fashioned DataTable :D by using LINQ. Is it possible indeed?

I mean i have DataTable which was generated in common DataSet. And now i want to fill it using LINQ, is it possible? And if is, how i can do it.

I know that i might do it just invoke Fill() method,
but since i want to generalize selection procedure from diffrent types data sources (ie List, Array[...], DataTable) in uniq way i intend to do it by using linq and Expression - for set condition on this selection.

Thank!

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Wed 23 Jun 2010 15:01


maxcpr
Posts: 33
Joined: Wed 10 Dec 2008 14:46

Post by maxcpr » Thu 24 Jun 2010 06:54

Thank a lot :!:

Post Reply