public static void SeedHostDb(ReactDbContext 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(ReactDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 3
0
 public DefaultSettingsCreator(ReactDbContext context)
 {
     _context = context;
 }
 public TenantRoleAndUserBuilder(ReactDbContext context, int tenantId)
 {
     _context  = context;
     _tenantId = tenantId;
 }
 public DefaultEditionCreator(ReactDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 6
0
 public InitialHostDbBuilder(ReactDbContext context)
 {
     _context = context;
 }
 public DefaultTenantBuilder(ReactDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 8
0
 public HostRoleAndUserCreator(ReactDbContext context)
 {
     _context = context;
 }