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