Search Wiki:
EF POCO Adapter enables Plain Old CLR Objects (POCOs) to be tracked using released version of Entity Framework V1. It consist of a code generator, supporting library and a test suite and examples.

UPDATE: Entity Framework 4.0 supports POCO directly - see this article for tips on migrating to EF v4.0.

UPDATE: Visual Basic version of the sample is now available in the Downloads section.

Code generator writes an adapter layer that will translate between POCO objects and Entity Framework-aware objects and provide services on top of POCO objects, such as:

  • Change tracking (snapshot-based and proxy-based when possible)
  • Transparent lazy loading
  • Immutable Value Objects
  • Queries (LINQ and Entity SQL)
  • Shadow state (maintaining certain persistence-related fields outside of entity class)

Entity Framework V1 programming interfaces are wrapped with corresponding APIs that work with POCO objects and do necessary translation between POCO and Persistence-Aware objects.

See this blog post for more information about the project and its usage.

Submit your feedback using "Discussions" tab.
Last edited Apr 16 2010 at 12:20 AM  by jkowalski, version 10
Page view tracker