public static void SeedHostDb(POSDbContext context) { context.SuppressAutoSetTenantId = true; // Host seed new InitialHostDbBuilder(context).Create(); // Default tenant seed (in host database). new DefaultTenantBuilder(context).Create(); new TenantRoleAndUserBuilder(context, 1).Create(); }
public OfferRepository(POSDbContext dbContext) : base(dbContext) { }
public DailySalesEntriesController(POSDbContext context) { _context = context; }
public CategoryRepository(POSDbContext pOSDbContext) { cntx = pOSDbContext; }
public DefaultTenantBuilder(POSDbContext context) { _context = context; }
public DefaultSettingsCreator(POSDbContext context) { _context = context; }
public DefaultLanguagesCreator(POSDbContext context) { _context = context; }
public InventoryItemsController(POSDbContext context) { _context = context; }
public ProductRepository(POSDbContext pOSDbContext) { cntx = pOSDbContext; }
public AddInventoryController(POSDbContext context) { _context = context; }
public HostRoleAndUserCreator(POSDbContext context) { _context = context; }
public TenantRoleAndUserBuilder(POSDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public VendorRepository(POSDbContext pOSDbContext) { cntx = pOSDbContext; }
public InitialHostDbBuilder(POSDbContext context) { _context = context; }
public DailySalesModelsController(POSDbContext context, ApplicationDbContext applicationContext) { _context = context; _applicationContext = applicationContext; }
public DefaultEditionCreator(POSDbContext context) { _context = context; }