one or more Entity models for one database for entity framework?

Posted by KentZhou on Stack Overflow See other posts from Stack Overflow or by KentZhou
Published on 2010-05-25T14:50:20Z Indexed on 2010/05/25 14:51 UTC
Read the original article Hit count: 218

Filed under:

When use entity framework for DAL tier, VS 2010 can create edmx for each database.

Question: If I have a database with many tables, should I create only one edmx for all tables or mutiple edmx files? for example, maybe all security tables for one edmx file, other tables for another edmx file. If there is more than one, then in other tiers, there will have more then on ObjectContext in code for business logic.

Which one it the best solution for this case?

© Stack Overflow or respective owner

Related posts about entity-framework