If you used Entity Framework, you know that EDMX is cool. You also know that it can become HUGE and almost uncontrollable.
When it gets big, there is a temptation to create a second EDMX or a third - even one for each schema in your database (as an example).
This separation will help organize your EDMX, but it can share the context of objects in the same namespace.
In addition, individual EDMX files may create a situation where the JOIN operation in EDMX files leads to excessive redundant database communication.
But the fact remains: the more EDMX, the more difficult it is to use. The more difficult it is to ensure its correctness. Easier to break.
Do you share EDMX files? Do you have a rule of thumb about when he needs to?
source
share