Changing Schema Dynamically in EF Core

added by DotNetKicks
1/17/2022 3:53:20 PM

338 Views

Sometimes it may be necessary to change the schema for some entities based upon some criteria. This may be because of multitenancy or because you want to test something and don't want to pollute the main schema. Here is a possible solution, going directly to the annotations that EF Core uses.


0 comments