1

I have an application with .net core 3.1 web API with Entity Framework Code First Approach , which will handle different database schema based on the request,

Consider there is a API, which trying retrieve customer details,

if the first request is api/GetAllCustomer?schema="schema1" then the system should retrieve the data from schema1.customer and if the request is api/GetAllCustomer?schema="schema2" then the data should retrieve from schema2.customer

and if a new customer is created we need to create a new table called schema3

Sooraj Bathery
  • 135
  • 3
  • 10

0 Answers0