dbContext.Plans
.Where(plan =>
setPlanToPlanGroupModels.Any(m=>m.PlanId != plan.Id))
.AnyAsync(cancellationToken);
return !atLeastOnePlanDoesNotExist;
"The LINQ expression '__setPlanToPlanGroupModels_0
.Any(e => e.PlanId != EntityShaperExpression:
PlanIt.Plan.Domain.Entities.Plan
ValueBufferExpression:
ProjectionBindingExpression: EmptyProjectionMember
IsNullable: False
.Id)' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
"
setPlanToPlanGroupModels - это что?
Обсуждают сегодня