LINQ to SQL
• It use domain Model
• It support only SQL server Database
• Data source contains Tables only
• It is simple to use
• rapid development done from this Model
• It can map class to single table
• It is hard to apply Inheritance
• dbml file only generated
• Creation of complex properties is Not Supported
• Query
– LINQ to SQL (for select)
– Data Context (for update, create, delete, store procedure, view)
• Synchronization with Database if Database Schema is changed is not
supported in this Model
• Very slow performance for the first query
• It doesn’t support Continuous improvement of features in the future
• Generate database from entity model is not supported
Entity Framework
• It use conceptual data model
• It support variety of databases
• Data source contains tables, replication, reporting Services, BI and etc
• It is complex to use
• It has slower development but more capabilities
• It can map class to multiple table
• It is simple to apply Inheritance
• After compilation generate edmx file with 3 sections to represent the schema:
csdl, msl and ssdl
csdl : Conceptual schema definition language
msl : mapping specification language
ssdl : store schema definition language
• Creation of complex properties is Not Supported in VS2010,
we can manually modify in .edmx file
• Query :
– LINQ to Entities (for select)
– Entity SQL (is a derivative of Transact-SQL, it supports inheritance and associations)
– Object Services (for update, create, delete, store procedure, view)
– Entity Client (is an ADO.NET managed provider, it is similar to SQLClient, OracleClient,
etc. It provides several components like EntityCommand, EntityTransaction)
• Synchronization with Database if Database Schema is changed is supported in this Model
• Very slow performance for the first query.But overall performance is better than LINQ to SQL
• It support Continuous improvement of features in the future
• Generate database from entity model is not supported in VS2010
Search You Want
Monthwise Posts
Search Under Category
Posts’ Tags
.Net (223) ADO.NET (10) Air Conditioner (16) Asp.Net (137) Body-Weight (9) C# (39) C Programming Language (23) Data Structure (36) Design Pattern (20) Digital Currency (9) Eating & Drinking (55) Exam 70-511 - TS: Windows Applications Development with Microsoft .NET Framework 4 (18) Exam 70-536 - TS: Microsoft .NET Framework - Application Development Foundation (15) Exam 70-562 - TS: Microsoft .NET Framework 3.5, ASP.NET Application Development (35) Fever (16) Finance (47) Funds (58) General Knowledge (128) GST (11) Insurance (25) Internet Information Services (IIS) (13) Interview Questions and Answers (471) Investment (21) JavaScript (19) Job (60) LINQ (Language Integrated Query) (56) MCPD Web Developer 4.0 Certification (35) Mental Health (13) MVC (156) OOPs (73) Pain (13) PPF (22) Shares (21) Silverlight (12) Skin (22) Software Development Methodology (12) Software Testing (32) SQL (113) TAX (25) TDS (12) Trading (16) Treatment (14) Web-Service (10) Windows Azure (11) Windows Communication Foundation (WCF) (49)