Esempio n. 1
0
        public static void SeedHostDb(ABP_CORE_MPADbContext 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();
        }
Esempio n. 2
0
 public DefaultEditionCreator(ABP_CORE_MPADbContext context)
 {
     _context = context;
 }
 public TenantRoleAndUserBuilder(ABP_CORE_MPADbContext context, int tenantId)
 {
     _context  = context;
     _tenantId = tenantId;
 }
 public DefaultSettingsCreator(ABP_CORE_MPADbContext context)
 {
     _context = context;
 }
Esempio n. 5
0
 public HostRoleAndUserCreator(ABP_CORE_MPADbContext context)
 {
     _context = context;
 }
 public DefaultLanguagesCreator(ABP_CORE_MPADbContext context)
 {
     _context = context;
 }
 public DefaultTenantBuilder(ABP_CORE_MPADbContext context)
 {
     _context = context;
 }
Esempio n. 8
0
 public InitialHostDbBuilder(ABP_CORE_MPADbContext context)
 {
     _context = context;
 }