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