I have a local database that is currently in it\'s second version and should now go to it\'s third version.
The code for the previous migrations was generated by ano
From the perspective of a complete Entity Framework (Core) beginner:
DbContext
DbContext you need to specify which context you want to add the migration to with the -Context parameter.DbContext as shown by @CondingIntrigue
public class AccountContext : DbContext
{
public DbSet Accounts { get; set; }
public DbSet SecretIdentity { get; set; }
}
Add-Migration