Last post May 16, 2016 01:51 PM by sjnaughton
May 13, 2016 09:00 AM|zzdfc|LINK
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.
May 16, 2016 11:35 AM|huiling123|LINK
can you provide some related code about the issue.
May 16, 2016 12:37 PM|sjnaughton|LINK
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.
May 16, 2016 01:51 PM|sjnaughton|LINK
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?