geeksarray / entity-framework-core-code-first-migration-using-separate-assembly Goto Github PK
View Code? Open in Web Editor NEWcreate a Class library project, data models with DataAnnotations validation, ApplicationContext class implementing DBContext, and implement IDesignTimeDbContextFactory to avoid the use of startup class.
Home Page: https://geeksarray.com/blog/entity-framework-core-code-first-migration-using-separate-assembly