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