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