WPF Composite - Expose EF model to all modules

Posted by Tony on Stack Overflow See other posts from Stack Overflow or by Tony
Published on 2010-03-09T08:18:40Z Indexed on 2010/03/09 8:21 UTC
Read the original article Hit count: 282

Filed under:
|

Hi All,

I have an application that uses WPF Composite, and I have an issue. I've got a big database that is attached to the application and I need it exposed to different modules as part of the application.

What is the best way to expose my Entity Framework model to all my different modules and views inside them? Do I have one EF model or a separate one for each module and then only the tables that each module needs. The only problem being that some tables have a relationship and will have different views and those views will be in different modules.

Any ideas how to resolve this?

© Stack Overflow or respective owner

Related posts about compositewpf

Related posts about model