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(); }
public DefaultEditionCreator(ABPAngularDbContext context) { _context = context; }
public TenantRoleAndUserBuilder(ABPAngularDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public DefaultLanguagesCreator(ABPAngularDbContext context) { _context = context; }
public HostRoleAndUserCreator(ABPAngularDbContext context) { _context = context; }
public DefaultTenantBuilder(ABPAngularDbContext context) { _context = context; }
public DefaultSettingsCreator(ABPAngularDbContext context) { _context = context; }
public InitialHostDbBuilder(ABPAngularDbContext context) { _context = context; }