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