You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to incorporate this library in my tests but I got an exception: System.MissingMethodException: 'Cannot create an abstract class.'.
The problem seems to be in CodeFirstMetadataWorkspaceFactory.GetCacheName(), where the method tries to instantiate the base abstract migration.
Steps to reproduce:
Have an abstract migration in the same project as your DbContext
Try to load metadata var metadata = ModelMetadataGenerator.LoadFromCodeFirstContext(str => new AppDbContext(str), true);
The text was updated successfully, but these errors were encountered:
Hi!
I tried to incorporate this library in my tests but I got an exception: System.MissingMethodException: 'Cannot create an abstract class.'.
The problem seems to be in CodeFirstMetadataWorkspaceFactory.GetCacheName(), where the method tries to instantiate the base abstract migration.
Steps to reproduce:
var metadata = ModelMetadataGenerator.LoadFromCodeFirstContext(str => new AppDbContext(str), true);
The text was updated successfully, but these errors were encountered: