SQL Server Custom Schema Separation and Entity Framework Issues

I cheated on EF using a database that implemented splitting a user schema using a twist, there are several tables with the same name, but separated via a schema.

So how:

admin.tasks
staff.tasks
contractor.tasks

When I created my EF model, I noticed that there were three task tables:

Tasks
tasks1
tasks2

Is it for design?

Is there also a way to tell EF to add a schema to the entity name, or am I SOL and do it myself?

+3
source share
1 answer
+1

Source: https://habr.com/ru/post/1737433/


All Articles