public TransactionRepository(Microsoft.Data.Entity.DbContext dataContext) : base(dataContext)
 {
 }
 public UserRepository(Microsoft.Data.Entity.DbContext dataContext) : base(dataContext)
 {
 }
示例#3
0
 public Repository(Microsoft.Data.Entity.DbContext dataContext)
 {
     DbContext = (FamilyBudgetContext)dataContext;
     DbSet     = dataContext.Set <T>();
 }