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