开发者

How to break-down my EF Model?

开发者 https://www.devze.com 2022-12-26 23:11 出处:网络
We have a database开发者_JS百科 app that we\'re beginning to write some new systems for and I want to redo our DAL, potentially using EF4. As I begin to look at this, it seems that it\'s a bad idea to

We have a database开发者_JS百科 app that we're beginning to write some new systems for and I want to redo our DAL, potentially using EF4. As I begin to look at this, it seems that it's a bad idea to just use a single EDMX file for my entire database. When I did this, here is a screenshot of what that looks like (zoomed out as far as I can zoom out) to give you a bit of an idea.

So it seems that I should break this down into multiple EDMX files. Where can I start to learn a good strategy for doing this?

Thanks!


There is nothing to learn at the basic level. Subset your screens and problems down to a reasonable level of complexity and use a EDMX for each section or part of your application.

At the most complex level you'll need to understand all about how the "spaces" work ( C-Space, S-Space, O-Space ) and how to create ObjectContexts with custom configuration.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号