public static void SeedHostDb(CashTestDbContext 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(); new PlayerAndMapBuilder(context).Create(); }
public DefaultMapsCreator(CashTestDbContext context) { _context = context; }
public HostRoleAndUserCreator(CashTestDbContext context) { _context = context; }
public InitialHostDbBuilder(CashTestDbContext context) { _context = context; }
public TenantRoleAndUserBuilder(CashTestDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public DefaultPlayersCreator(CashTestDbContext context) { _context = context; }
public DefaultTenantBuilder(CashTestDbContext context) { _context = context; }
public DefaultEditionCreator(CashTestDbContext context) { _context = context; }
public DefaultLanguagesCreator(CashTestDbContext context) { _context = context; }
public DefaultSettingsCreator(CashTestDbContext context) { _context = context; }
public PlayerAndMapBuilder(CashTestDbContext context) { _context = context; }