468,117 Members | 1,472 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,117 developers. It's quick & easy.

linq to sql or ado.net entity framework?

I have to learn how to do one or the other: linq to sql or ado.net entity
framework. There will be overhead no matter what way I go since I don't know
either one. Which one would be the best one to use overall?

Oct 22 '08 #1
1 1690
"Andy B" <a_*****@sbcglobal.netwrote in message
news:uQ**************@TK2MSFTNGP06.phx.gbl...
I have to learn how to do one or the other: linq to sql or ado.net entity
framework. There will be overhead no matter what way I go since I don't
know either one. Which one would be the best one to use overall?
I would learn Entity Framework. LINQ to SQL is meant to be a one-to-one
mapping to your database. OTOH Entity Framework gives you the flexibility to
have an entity model that works in your code at the same time as a database
model that works in the database.

One example is that you can do inheritance. You can have a "Person" entity
that both "Employee" and "Customer" entities derive from.

--
John Saunders | MVP - Connected System Developer

Oct 22 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Matthias S. | last post: by
2 posts views Thread by AAAAA | last post: by
10 posts views Thread by Nils Magnus | last post: by
5 posts views Thread by ck1 | last post: by
14 posts views Thread by thj | last post: by
2 posts views Thread by =?Utf-8?B?UGFvbG8=?= | last post: by
9 posts views Thread by Cirene | last post: by
13 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.