コード例 #1
0
        public AssetSetupUnitOfWork(AssetDbContext context)
        {
            _context = context;

            AssetType = new AssetTypeRepository(_context);

            AssetGroup = new AssetGroupRepository(_context);

            AssetManufacurer = new AssetManufactureRepository(_context);

            AssetModel = new AssetModelRepository(_context);
        }
コード例 #2
0
 public AssetGroupUnitOfWork(AssetDbContext context)
 {
     _context   = context;
     AssetGroup = new AssetGroupRepository(_context);
 }