コード例 #1
0
ファイル: Repository.cs プロジェクト: coolbas87/HomeWeather
 public Repository(HomeWeatherContext context)
 {
     this.context = context;
     dbEntities   = this.context.Set <TEntity>();
 }
コード例 #2
0
 public UnitOfWork(HomeWeatherContext context) => this.context = context;