Beispiel #1
0
        public static void CreateSeed(RoDbContext roContext, BgDbContext bgContext, SrDbContext srDbContext, UkDbContext ukDbContext)
        {
            List <Product> products = GetProductList();

            CreateProducts(roContext, products);
            CreateProducts(bgContext, products);
            CreateProducts(srDbContext, products);
            CreateProducts(ukDbContext, products);
            CreateCatalog(roContext);
            CreateCatalog(bgContext);
            CreateCatalog(srDbContext);
            CreateCatalog(ukDbContext);
        }
 public DefaultSettingsCreator(SrDbContext context)
 {
     _context = context;
 }
 public DefaultTenantCreator(SrDbContext context)
 {
     _context = context;
 }
Beispiel #4
0
 public DefaultEditionsCreator(SrDbContext context)
 {
     _context = context;
 }
Beispiel #5
0
 public TenantRoleAndUserBuilder(SrDbContext context, int tenantId)
 {
     _context  = context;
     _tenantId = tenantId;
 }
Beispiel #6
0
 public InitialHostDbBuilder(SrDbContext context)
 {
     _context = context;
 }
 public DefaultLanguagesCreator(SrDbContext context)
 {
     _context = context;
 }
 public HostRoleAndUserCreator(SrDbContext context)
 {
     _context = context;
 }