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