public PlaceContractorDbAccess(EfCoreContext context)
 {
     _context = context;
 }
Пример #2
0
 public DeleteWorkPackageDbAccess(EfCoreContext context)
 {
     _context = context;
 }
 public ChangePriceOfferService(EfCoreContext context)
 {
     _context = context;
 }
Пример #4
0
 public static void SeedDatabaseDummyBooks(this EfCoreContext context, int numBooks = 10)
 {
     context.Books.AddRange(CreateDummyBooks(numBooks));
     context.SaveChanges();
 }
 public GetCategorySpreadingQueryTests()
 {
     context = InMemoryEfCoreContextFactory.Create();
 }
Пример #6
0
 public ProjectController(EfCoreContext context)
 {
     _context = context;
 }
 public UpdatePersonDbAccess(EfCoreContext context)
 {
     this._context = context;
 }
Пример #8
0
 public ArticleRepository(EfCoreContext context) : base(context)
 {
 }
Пример #9
0
 public static void SeedDatabaseDummyBooks(this EfCoreContext context, int numBooks = 10, bool stepByYears = false)
 {
     context.Books.AddRange(CreateDummyBooks(numBooks, stepByYears));
     context.SaveChanges();
 }
Пример #10
0
 public ContractorController(EfCoreContext context)
 {
     _context = context;
 }
Пример #11
0
 public GetCategoryBySearchTermQueryTests()
 {
     context = TestEfCoreContextFactory.Create();
 }
 public UpdateWorkPackageStepDbAccess(EfCoreContext context)
 {
     _context = context;
 }
Пример #13
0
 public TeamLogic(EfCoreContext context)
 {
     _context = context;
 }
 public static void Destroy(EfCoreContext context)
 {
     context.Database.EnsureDeleted();
     context.Dispose();
 }
Пример #15
0
 public QueryTestFixture()
 {
     Context = TestEfCoreContextFactory.Create();
 }
Пример #16
0
 public StatisticDbAccess(EfCoreContext context)
 {
     this.context = context;
 }
Пример #17
0
 public PaymentService(EfCoreContext context, IModifyPaymentAction modifyPaymentAction, IDialogService dialogService)
 {
     this.modifyPaymentAction = modifyPaymentAction;
     this.dialogService       = dialogService;
     this.context             = context;
 }
Пример #18
0
 public VisaDbAccess(IUnitOfWork context)
 {
     _context = (EfCoreContext)context;
 }
 public GetIfCategoryWithNameExistsQueryTests()
 {
     context = InMemoryEfCoreContextFactory.Create();
 }
Пример #20
0
 public CheckoutController(EfCoreContext context)
 {
     _context = context;
 }
 public UpdateProjectSubSystemDbAccess(EfCoreContext context)
 {
     _context = context;
 }
Пример #22
0
 public PlaceOrderDbAccess(EfCoreContext context)//#A
 {
     _context = context;
 }
Пример #23
0
 public static void SeedDatabaseFourBooks(this EfCoreContext context)
 {
     context.Books.AddRange(CreateFourBooks());
     context.SaveChanges();
 }
Пример #24
0
 public HomeController(EfCoreContext context)           //#A
 {                                                      //#A
     _context = context;                                //#A
 }                                                      //#A
Пример #25
0
 public OrdersController(EfCoreContext context)
 {
     _context = context;
 }
Пример #26
0
 public UsersRepository(EfCoreContext dbContext) : base(dbContext)
 {
     _dbContext = dbContext;
 }
 public GetPaymentsForAccountIdQueryTests()
 {
     context = InMemoryEfCoreContextFactory.Create();
 }
Пример #28
0
 public PersonFilterDropdownService(EfCoreContext db)
 {
     _db = db;
 }
Пример #29
0
 public ReservationRepository(EfCoreContext context) : base(context)
 {
 }
Пример #30
0
 public AddReviewService(EfCoreContext context)
 {
     _context = context;
 }