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