If the persistence level on the site is the only part that changes, I would extract your EF model into my own version, for example.
DbV1.dll DbV2.dll
Then you can load into the appropriate DLL based on some parameters from the client, i.e. you could pass the information as a custom header, for example.
db-version: 1
There are other more reliable methods, however, I don’t know what your current setting is, so it’s hard to answer.
James source share