分别包括 vs2008sp & vs2010 的事例和代码。
1)Execution of store commands via the ObjectContext.
2)Connection lifetime management.
3)State management of entities from external sources.
4)Materialization of arbitrary CLR types given a data reader or DB command.
4)Stored procedure mapping:
Multiple result sets.
Column renames, polymorphic results and nested structures via the materialization service.
5)Getting and setting key values for entity references.
6Rewrite InvocationExpressions in LINQ queries and expressions.