src/Shared/EntityFramework/Core/Mapping/ViewGeneration/Structures/ScalarRestriction.cs
// <summary>
// Fixes the range of the restriction in accordance with <paramref name="range" />.
// Member restriction must be complete for this operation.
// </summary>
Fixes the range of the restriction in accordance with .
Member restriction must be complete for this operation.
Fixes the range of the restriction in accordance with . Member restriction must be complete for this operation .
internal override DomainBoolExpr FixRange(Set<Constant> range, MemberDomainMap memberDomainMap)
        {
            Debug.Assert(IsComplete, "Ranges are fixed only for complete scalar restrictions.");
            var newPossibleValues = memberDomainMap.GetDomain(RestrictedMemberSlot.MemberPath);
            BoolLiteral newLiteral = new ScalarRestriction(RestrictedMemberSlot, new Domain(range, newPossibleValues));
            return newLiteral.GetDomainBoolExpression(memberDomainMap);
        }
internal override DomainBoolExpr FixRange ( Set < Constant > range , MemberDomainMap memberDomainMap ) { Debug . Assert ( IsComplete , " " ) ; var newPossibleValues = memberDomainMap . GetDomain ( RestrictedMemberSlot . MemberPath ) ; BoolLiteral newLiteral = new ScalarRestriction ( RestrictedMemberSlot , new Domain ( range , newPossibleValues ) ) ; return newLiteral . GetDomainBoolExpression ( memberDomainMap ) ; }
Fixes the range of the restriction in accordance with .
Fixes the range of the restriction in accordance with .
range
Set<Constant>
memberDomainMap
MemberDomainMap