Пример #1
0
        public static void SeedHostDb(EdwardAbpDbContext 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 DefaultEditionCreator(EdwardAbpDbContext context)
 {
     _context = context;
 }
Пример #3
0
 public InitialHostDbBuilder(EdwardAbpDbContext context)
 {
     _context = context;
 }
 public HostRoleAndUserCreator(EdwardAbpDbContext context)
 {
     _context = context;
 }
Пример #5
0
 public DefaultSettingsCreator(EdwardAbpDbContext context)
 {
     _context = context;
 }
Пример #6
0
 public TenantRoleAndUserBuilder(EdwardAbpDbContext context, int tenantId)
 {
     _context  = context;
     _tenantId = tenantId;
 }
 public DefaultTenantBuilder(EdwardAbpDbContext context)
 {
     _context = context;
 }
 public DefaultLanguagesCreator(EdwardAbpDbContext context)
 {
     _context = context;
 }