コード例 #1
0
        public SqlUnitOfWork()
        {
            _clothesWashingContext = new ClothesWashingContext();

            ClothesRepository = new ClothesSqlRepository(_clothesWashingContext);
            OutfitRepository = new OutfitSqlRepository(_clothesWashingContext);
            WashSessionRepository = new WashSessionSqlRepository(_clothesWashingContext);
        }
コード例 #2
0
 public WashSessionSqlRepository(ClothesWashingContext context)
 {
     _context = context;
 }
コード例 #3
0
 public OutfitSqlRepository(ClothesWashingContext context)
 {
     _context = context;
 }