Linq to Entities vs Linq to SQL
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, Is there any Linq to entities equivalent for DeleteAllOnSubmit?? If not, then is Linq to entities really better than linq to sql? If Yes, then why? Thanks
There is no comparison between the two. Linq to SQL is for, well, SQL. Linq to Entities can be used for a variety of objects. DeleteAllOnSubmit would not make since for this because the entities could be from any type of collection; a list of strings, a list of WMI objects, etc. where delete has no meaning, or a very different one.
I know the language. I've read a book. - _Madmatt