views:

135

answers:

1

Can Anyone recommend a well design open source project with Entity Framework? I had some tastes about the Entity Framework 4, but I would love to know how people use this framework in some large projects.

Many thanks.

Daoming

+2  A: 

While not large, you could check out the All-In-One Code Framework samples. I think there are at least a few examples of the Entity Framework in there. One specific example is:

How to work with table relationships and entity inheritances in ADO.NET Entity Data Model

This code sample includes a step-by-step guide about how to work with Entity Data Model in various ways, including One-to-Many association, Many-to-Many association, One-to-One association, table merging, table splitting, Table-per-Hierarchy inheritance, and Table-per-Type inheritance.

EDIT:

They just added another sample:

CSEFCodeOnly, VBEFCodeOnly

These two samples illustrate how to use one of the EF4 new features, Code Only, to create the EDM metadata and the corresponding .edmx file with POCO entity classes during runtime. They also demonstrate some basic insert and query operations to test the EDM metadata generated by Code Only.

GalacticJello