Why throw a exception of InvalidOprationException when I register two MetaModels to same a database?Because one MetaModel for web site,the other for web api.
P.S. when I think back to the multiple metaModels I have registered of the same database they have always been different models, this may be a limitation of the MetaModel only a single reference to a data model?
Marked as answer byAnonymousThursday, October 7, 2021 12:00 AM
You need to save the MetaModel to a separate variable for each different model even if they are for the same DB. Please post the code for how you are registering them.
P.S. when I think back to the multiple metaModels I have registered of the same database they have always been different models, this may be a limitation of the MetaModel only a single reference to a data model?
Marked as answer byAnonymousThursday, October 7, 2021 12:00 AM