public static void SeedHostDb(KworkPracticeTaskDbContext 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 DefaultEditionCreator(KworkPracticeTaskDbContext context) { _context = context; }
public DefaultTenantBuilder(KworkPracticeTaskDbContext context) { _context = context; }
public HostRoleAndUserCreator(KworkPracticeTaskDbContext context) { _context = context; }
public InitialHostDbBuilder(KworkPracticeTaskDbContext context) { _context = context; }
public DefaultLanguagesCreator(KworkPracticeTaskDbContext context) { _context = context; }
public DefaultSettingsCreator(KworkPracticeTaskDbContext context) { _context = context; }