Click here to Skip to main content
15,615,787 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new to EF. Can anybody explain about Entity Framework. What it is? How it is useful in N-Tier Architecture?

what is the difference between linq to sql and EF?

please help me thank you.
Posted

 
Share this answer
 
Comments
Espen Harlinn 31-Dec-11 9:12am    
Good place to start :)
What is Entity Framework?[^]

Entity Framework (Advance then LinQ to SQL):

1. Enterprise Development from database directly
2. Works with Conceptual model of database
3. Works with all data sources
4. EDMX file can be use ad designer while using Entity Framework
5. Complete database can be created/ updated directly from C# entities.
where
LINQ to SQL:
1. Rapid Application Development
2. Works with objects in database
3. Mainly woks with SQL Server
4. dbml file can be used as designer while using LINQ to SQL

In addition have a look at reference link.
What is the difference between Entity Framework and LINQ to SQL by .NET 4.0?[^]
Difference between LinQ to SQL and ADO.Net Entity Framework[^]
Difference between Linq to SQL and the ADO.NET Entity Data Model[^]
LINQ to SQL vs. Entity Framework[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900