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