示例#1
0
 public Repository(HomeWeatherContext context)
 {
     this.context = context;
     dbEntities   = this.context.Set <TEntity>();
 }
示例#2
0
 public UnitOfWork(HomeWeatherContext context) => this.context = context;