c# - Large entity framework split into many EDMX. How to operate between those? -


I am working on a large database, it will contain a total of 200-300 tables. First of all, does anyone have such database in an EDMX? In the designer of my experience, when you get 50 or more institutions, it becomes useless.

In my case, the database itself divides itself, such as in the subject areas like Membership, Systems, Assets etc. > This is the same with ADMX and everything works more or less well.

There is every problem that I can bet .. I have all the main institutions, and the user table lives in different EDMX.

I can deal with this fine for the operation of the CUD because I have hanged around the current user but for retirement, I often need to display that ID which was created and for this I must be involved together. But I can not be included in the table in different EDMX.

I get 2 solutions on this:

  1. I can not list the users' list (it can not be too large) and
  2. I know what I am doing - # 1 is probably okay but I can see how I can be in the future to be involved in various models And you will be surprised how do you handle it?

    itemprop = "text">

    edmx only defines a conceptual model of your database, then it is ok to add user tables to many ADMX files

    Option # 2 is OK.

    You need to have different names for tables, which are repeated in many ADMX files to avoid conflict. Some users, such as SystemUser, AssetUser, actually point to the same table.

    Thank you.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -