I have a standard set of models.
I have a base context class that inherits from dbcontext to add some functions I need.
public class MyContext : DbContext
{
public void MyFeature() {
}
}
Then I have my actual data context:
public class DataContext : MyContext
{
public DbSet<Category> Categories { get; set; }
public DbSet<Product> Products { get; set; }
}
scaffolder , "Unsupported Context Type"
datacontext, dbcontext, , , , , . , , , , datacontext , scaffolder , , datacontext - dbcontext.
scaffolder datacontext?