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