Entity Framework 4 with Existing Domain Model
Posted
by ace
on Stack Overflow
See other posts from Stack Overflow
or by ace
Published on 2010-06-08T23:47:28Z
Indexed on
2010/06/08
23:52 UTC
Read the original article
Hit count: 221
entity-framework
|ADO.NET
Hi,
Im currently looking at migrating from fluent nHibernate to ADO.Net Entity Framework 4.
I have a project containing the domain model (pocos) which I was using for nHibernate mappings. Ive read in blogs that it is possible to use my existing domain model with EF4 but ive seen no examples of it. Ive seen examples of T4 code generation with EF4 but havent come accross an example which shows how to use existing domain model objects with EF4. Im a newby with EF4 and would like to see some samples on how to get this done.
Thanks Aiyaz
© Stack Overflow or respective owner