src/Shared/EntityFramework/Core/Mapping/ViewGeneration/Structures/MemberProjectedSlot.cs
// <summary>
// True iff <see cref=" m_memberPath" /> and <paramref name="outputMember" /> types do not match,
// We assume that the mapping loader has already checked that the casts are ok and emitted warnings.
// </summary>
True iff  and  types do not match,
We assume that the mapping loader has already checked that the casts are ok and emitted warnings.
True iff and types do not match We assume that the mapping loader has already checked that the casts are ok and emitted warnings .
private bool NeedToCastCqlValue(MemberPath outputMember, out TypeUsage outputMemberTypeUsage)
        {
            var memberPathTypeUsage = Helper.GetModelTypeUsage(m_memberPath.LeafEdmMember);
            outputMemberTypeUsage = Helper.GetModelTypeUsage(outputMember.LeafEdmMember);
            return !memberPathTypeUsage.EdmType.Equals(outputMemberTypeUsage.EdmType);
        }
private bool NeedToCastCqlValue ( MemberPath outputMember , out TypeUsage outputMemberTypeUsage ) { var memberPathTypeUsage = Helper . GetModelTypeUsage ( m_memberPath . LeafEdmMember ) ; outputMemberTypeUsage = Helper . GetModelTypeUsage ( outputMember . LeafEdmMember ) ; return ! memberPathTypeUsage . EdmType . Equals ( outputMemberTypeUsage . EdmType ) ; }
True iff  and  types do not match,
We assume that the mapping loader has already checked that the casts are ok and emitted warnings.
True iff and types do not match We assume that the mapping loader has already checked that the casts are ok and emitted warnings .
outputMember
MemberPath
TypeUsage
out