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