ADO.NET Entity Framework Extensions Library
ADO.NET Entity Framework Extensions Library
As part of the MSDN Code Gallery you
can find the ADO.NET Entity Framework
Extensions library. The ADO.NET Entity
Framework Extensions includes
“utilities that make querying stored procedures,
creating typed results from DB data readers and
state tracking external data much easier in the
Entity Framework. A sample application demonstrates several patterns using these
utilities, including stored procedures with multiple result sets, materialization of
CLR types, and registering entities in the Entity Framework state manager” (the
description is taken from the library’s page).
The following utilities are included in the current release of the
ADO.NET Entity Framework Extensions library:
- Execution of store commands via the ObjectContext.
- Connection lifetime management.
- State management of entities from external sources.
- Materialization of arbitrary CLR types given a data reader or DB command.
- Stored procedure mapping:
- Multiple result sets.
- Column renames, polymorphic results and nested structures via the
materialization service.
- Getting and setting key values for entity references.
- Rewrite InvocationExpressions in LINQ queries and expressions.
You can download the library from here.
Enjoy!