Possible Duplicate:
Entity Framework vs LINQ to SQL
what is the difference between linq to sql class and entity framework and what kind of situation linq to sql should use and when entity framework will be the best option.
LINQ to SQL allow you to query and modify SQL Server database by using LINQ syntax. Entity framework is a great ORM shipped by Microsoft which allow you to query and modify RDBMS like SQL Server, Oracle, DB2 and MySQL etc. by using LINQ syntax. Today, EF is widely used by each and every .
Entity Framework is an object-relational mapping (ORM) framework for connecting C# code to external databases, usually SQL Server. LINQ is a query language embedded into C# and a set of extension methods in order to make it useful.
edmx is the modeling file for Entity Framework. dbml is the modeling file for Linq 2 Sql. You should spend your time learning Entity Framework as Linq 2 Sql is deprecated.
Check out this link for a quick comparison. For me linq to sql is a quicker way to get a small application up and running and the entity framework is more for large more complex applications that you can take time to build a big foundation for.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With