Esempio n. 1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="dbContext"></param>
 public EfRepository(GeneralDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Esempio n. 2
0
 public RepositoryBase(GeneralDbContext generalDbContext)
 {
     this._dbContext = generalDbContext;
 }