public static void SeedHostDb(SplitPackageDbContext context) { context.SuppressAutoSetTenantId = true; // Host seed new InitialHostDbBuilder(context).Create(); //Default Business Data seed new InitialBusinessDbBuilder(context).Create(); new InitialTenantBuilder(context).Create(); }
public abstract void InitData(SplitPackageDbContext context);
public HostRoleAndUserCreator(SplitPackageDbContext context) { _context = context; }
public DefaultLogisticCreator(SplitPackageDbContext context) { this._context = context; }
public DefaultEditionCreator(SplitPackageDbContext context) { _context = context; }
public DefaultProductSortCreator(SplitPackageDbContext context) { this._context = context; }
public override void InitData(SplitPackageDbContext context) { new AddRuleBuilder(context, null).Create(); }
public DefaultTenantBuilder(SplitPackageDbContext context, string[] tenants) { this._context = context; this._tenants = tenants; }
public override void InitData(SplitPackageDbContext context) { }
public TenantRoleAndUserBuilder(SplitPackageDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public override void InitData(SplitPackageDbContext context) { new SkuRuleBuilder(context, context.Tenants.First(o => o.TenancyName == "AstraeaAssistant").Id).Create(); }
public DefaultSettingsCreator(SplitPackageDbContext context) { _context = context; }
public InitialBusinessDbBuilder(SplitPackageDbContext context) { _context = context; }
public InitialTenantBuilder(SplitPackageDbContext context) { this._context = context; }
public AddRuleBuilder(SplitPackageDbContext context, int?tenantId) { this._context = context; this.tenantId = tenantId; }
public DefaultOtherSystemCreator(SplitPackageDbContext context) { this._context = context; }
public DefaultLanguagesCreator(SplitPackageDbContext context) { _context = context; }
public DefaultTenantBusinessBuilder(SplitPackageDbContext context) { this._context = context; }
public InitialHostDbBuilder(SplitPackageDbContext context) { _context = context; }