Entity Framework POCO Adapter Updated - N-Tier Application Scenarios and Detached Entities

I mentioned the Entity Framework POCO Adapter a couple of times:

Jaroslaw Kowalski updated the Entity Framework POCO Adapter to v1.03 based on feedback from users in N-Tier Application Scenarios and with Detached Entities. Some of the changes include:

  • Added wrapper for ObjectContext.ApplyPropertyChanges() to IEntitySet<T>
  • Added wrapper for ObjectContext.Detach() to IEntitySet<T>
  • Fixed handling of detached/out-of-scope entities w.r.t lazy loading and attaching to other contexts. Lazy loading outside of scope will do nothing if the context had DeferredLoadingEnabled=false, otherwise will throw.
  • Added partial OnZZZCreated() methods on generated contexts, adapters and proxies to enable integration with 3rd-party extensions
  • Fixed code generation from EDMX.
  • EFPocoContext.EnableLazyLoading has been renamed to EFPocoContext.DeferredLoadingEnabled to better align with Linq to SQL and our plans for EF v2
  • Fixed adapter-POCO synchronization for complex types

You can download the Entity Framework POCO Adapter here.

 

TAGS: O/R Mappers, Code Generators

 

posted on Friday, September 26, 2008 12:27 AM

Main

News

Green Tea

.NET Development

Enterprise Library

Patterns & Practices