Link to home
Start Free TrialLog in
Avatar of mathieu_cupryk
mathieu_cuprykFlag for Canada

asked on

Advantages of LINQ

I need to create a proposal why one should use LINQ.

What are the pros and cons?
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mathieu_cupryk

ASKER

ok this is what I thought.

Do you know where I can get a code generator for classes I read a table from the database and create the corresponding class.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>>Do you know where I can get a code generator for classes I read a table from the database and create the corresponding class.

I don't know how it is related to the question but Entity Framework is doing that. There is also CodeSmith doing that.
SqlMetal is a command line generator that builds the OR types used by LINQ to SQL. It reverse engineers a given database.
http://www.hookedonlinq.com/SqlMetal.ashx
http://msdn.microsoft.com/en-us/library/bb399400.aspx

hi sree not with link if possible. done in asp.net would be cool.