public static void SeedHostDb(BackendDbContext 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 DefaultTenantBuilder(BackendDbContext context) { _context = context; }
public InitialHostDbBuilder(BackendDbContext context) { _context = context; }
public HostRoleAndUserCreator(BackendDbContext context) { _context = context; }
public SettingsController(BackendDbContext context) { _context = context; }
public AddTodoService(BackendDbContext context) { _context = context; }
public TenantRoleAndUserBuilder(BackendDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public DefaultLanguagesCreator(BackendDbContext context) { _context = context; }
public CatService(BackendDbContext data) => this.data = data;
public TransporterRepository(BackendDbContext context) { _context = context; }
public OrderRepository(BackendDbContext context) { _context = context; }
public DefaultTenantCreator(BackendDbContext context) { _context = context; }
public ReservationRepository(BackendDbContext context) : base(context) { }
public DeleteTodoService(BackendDbContext context) { _context = context; }
public ValuesController(BackendDbContext db) { DbContext = db; }
public SupplierRepository(BackendDbContext context) { _context = context; }
public WorkersController(BackendDbContext context) { _context = context; }
public DefaultSettingsCreator(BackendDbContext context) { _context = context; }
public IntervalsRepository(BackendDbContext context) { _context = context; }
public ScheduleRepository(BackendDbContext context) { _context = context; }
public ContactRepository(BackendDbContext context) : base(context) { }
public BookingRepository(BackendDbContext context) { _context = context; }
public DefaultEditionsCreator(BackendDbContext context) { _context = context; }
public TodosController(BackendDbContext context) { _context = context; }