コード例 #1
0
 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();
 }
コード例 #5
0
 public GetCategorySpreadingQueryTests()
 {
     context = InMemoryEfCoreContextFactory.Create();
 }
コード例 #6
0
 public ProjectController(EfCoreContext context)
 {
     _context = context;
 }
コード例 #7
0
 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();
 }
コード例 #12
0
 public UpdateWorkPackageStepDbAccess(EfCoreContext context)
 {
     _context = context;
 }
コード例 #13
0
ファイル: TeamLogic.cs プロジェクト: ArmanYuzbashyan/ProjectA
 public TeamLogic(EfCoreContext context)
 {
     _context = context;
 }
コード例 #14
0
 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;
 }
コード例 #19
0
 public GetIfCategoryWithNameExistsQueryTests()
 {
     context = InMemoryEfCoreContextFactory.Create();
 }
コード例 #20
0
 public CheckoutController(EfCoreContext context)
 {
     _context = context;
 }
コード例 #21
0
 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;
 }
コード例 #27
0
 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;
 }