Example #1
0
 public UsyAppRepository(TwBusDbContext dbContext) : base(dbContext)
 {
 }
Example #2
0
 /// <summary>
 /// 通过构造函数注入得到数据上下文对象实例
 /// </summary>
 /// <param name="dbContext"></param>
 public BaseRepository(TwBusDbContext dbContext)
 {
     _dbContext = dbContext;
 }