In the Package Manager Console select the project where the DbContext
is defined and run the command add-migration initial
.
For example:public class SomeContext : DbContext
In the Package Manager Console select the project where the DbContext
is defined and run the command add-migration initial
.
For example:public class SomeContext : DbContext