ADO.NET Entity Framework Support

The latest ADO.NET evolution focuses on raising the level of abstraction from the logical (relational) level to the conceptual (entity) level. For this purpose Microsoft introduces the Entity Framework, designed to simplify data - object conversion and embed data access queries into program code.

The Devart dotConnect product line supports the ADO.NET Entity Framework for Oracle, MySQL, PostgreSQL, and SQLite.

Benefits



Entity Framework features:

Support for LINQ to Entities and Entity SQL


dotConnect data providers offer the most complete support for LINQ to Entities and Entity SQL.

Entity Framework Canonical Functions support


dotConnect data providers support most of the Entity Framework Canonical Functions for Oracle, MySQL, PostgreSQL and SQLite.

Dynamic database creation and deletion support


dotConnect data providers support Dynamic database creation and database deletion for Entity Framework v1, v4.x and v5.



Database-specific features:

Wide Support for Database Types


dotConnect product line offers wide support for database types including Oracle CURSORs. Users can add support for more datatypes, e.g. PostGIS types in PostgreSQL.

Wide Support for Stored Procedures


dotConnect product line offers wide support for stored procedures. *

Wide Support for Database-specific Functions


Database specific functions can be used in LINQ to Entities and Entity SQL. *



Performance:

Batch updates


Our providers support configurable batch updates, grouping several INSERT/UPDATE/DELETE statements into one SQL block, which increases ObjectContext.SaveChanges performance substantially, because of reducing number of server calls and producing more compact SQL code.

Light and Optimized SQL


A number of SQL optimizations allows generating high-performant SQL. Additionally, you may optionally disable SQL formatting to reduce SQL statement size.



Development Approaches

ado.net entity framework database-first

Database-First


You may generate an Entity Framework model, based on an existing database, and then update the model if the database was changed. This can be done both with Entity Data Model Wizard and Update Model Wizard in Visual Studio 2008 or 2010 and with our own ORM model designer - Entity Developer, which is supplied with the providers.

ado.net entity framework model-first

Model-First


You may create a model in Visual Studio 2010 Entity Model Designer and then generate database DDL script with Create Database Wizard. The same can be done with Entity Developer in both Visual Studio 2008 and 2010.

ado.net entity framework code-first

Code-First


You may create a set of POCO classes and set up mapping with attributes or fluent mapping and specify the database creating/deleting and filling with initial data. Our ADO.NET providers support this approach completely and allow additional tweaking.



Extensions of EDM

Features Entity Developer EDM designer
Advanced mapping support with all kinds of inheritances Yes No
Database-First approach support with preserving manual mapping and storage changes while updating a model from a database Yes No
Model-First approach support with synchronization of storage part and database with the model Yes No
Advanced large model support splitting model into several diagrams Yes Partial support
Robust and easy-to-use drag 'n' drop mechanism Yes No
Editable storage model Yes No
Advanced CUD-mapping with stored functions support Yes No
Function import and code generation with support for stored routines, returning entity collections and collections of complex types Yes Partial support
Background design-time model validating and testing the model with Entity SQL and LINQ to Entities queries Yes No
Code generation with support for design-time custom attributes of model objects Yes No

* Some of the advanced features are available only in Entity Developer

** EDM designer supports this functionality since Visual Studio 11 Beta.