public static void SeedHostDb(ReactDbContext 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 DefaultLanguagesCreator(ReactDbContext context) { _context = context; }
public DefaultSettingsCreator(ReactDbContext context) { _context = context; }
public TenantRoleAndUserBuilder(ReactDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public DefaultEditionCreator(ReactDbContext context) { _context = context; }
public InitialHostDbBuilder(ReactDbContext context) { _context = context; }
public DefaultTenantBuilder(ReactDbContext context) { _context = context; }
public HostRoleAndUserCreator(ReactDbContext context) { _context = context; }