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