Exemplo n.º 1
0
        public static void SeedHostDb(ABPsinglePageProj1DbContext 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 InitialHostDbBuilder(ABPsinglePageProj1DbContext context)
 {
     _context = context;
 }
Exemplo n.º 3
0
 public DefaultEditionCreator(ABPsinglePageProj1DbContext context)
 {
     _context = context;
 }
Exemplo n.º 4
0
 public TenantRoleAndUserBuilder(ABPsinglePageProj1DbContext context, int tenantId)
 {
     _context  = context;
     _tenantId = tenantId;
 }
 public HostRoleAndUserCreator(ABPsinglePageProj1DbContext context)
 {
     _context = context;
 }
 public DefaultSettingsCreator(ABPsinglePageProj1DbContext context)
 {
     _context = context;
 }
Exemplo n.º 7
0
 public DefaultLanguagesCreator(ABPsinglePageProj1DbContext context)
 {
     _context = context;
 }
 public DefaultTenantBuilder(ABPsinglePageProj1DbContext context)
 {
     _context = context;
 }