コード例 #1
0
 public CustomersController(OperationsContext context, IMapper mapper)
 {
     if (BLL == null)
     {
         BLL = new BusinessLogic(context, mapper);
     }
 }
コード例 #2
0
 public ItemCategoryTypesController(OperationsContext context, IMapper mapper)
 {
     if (BLL == null)
     {
         BLL = new BusinessLogic(context, mapper);
     }
 }
コード例 #3
0
 public BusinessLogic(OperationsContext context, IMapper mapper)
 {
     if (_unitOfWork == null)
     {
         _unitOfWork = new UnitOfWork(context);
     }
     _mapper = mapper;
 }
コード例 #4
0
 public GenericRepository(OperationsContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
コード例 #5
0
 public UnitAbbrsController(OperationsContext context)
 {
     _db = context;
 }
コード例 #6
0
 public RecipesController(OperationsContext context)
 {
     _db = context;
 }
コード例 #7
0
 public StatusController(OperationsContext context)
 {
     _db = context;
 }
コード例 #8
0
 public OrdersRepository(OperationsContext context) : base(context)
 {
 }
コード例 #9
0
 public MerchantsRepository(OperationsContext context) : base(context)
 {
 }
コード例 #10
0
ファイル: UnitOfWork.cs プロジェクト: robsmitha/Operations
 public UnitOfWork(OperationsContext context)
 {
     _context = context;
 }
コード例 #11
0
 public RecipeIngredientsController(OperationsContext context)
 {
     _db = context;
 }
コード例 #12
0
 public IngredientNamesController(OperationsContext context)
 {
     _db = context;
 }
コード例 #13
0
 public CustomersRepository(OperationsContext context) : base(context)
 {
 }