src/Shared/EntityFramework/Core/Query/PlanCompiler/RootTypeInfo.cs
// <summary>
// Try get the new property for the supplied propertyRef
// </summary>
// <param name="propertyRef"> property reference (on the old type) </param>
// <param name="throwIfMissing"> throw if the property is not found </param>
// <param name="property"> the corresponding property on the new type </param>
Try get the new property for the supplied propertyRef
Try get the new property for the supplied propertyRef
[SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters",
            MessageId = "System.Data.Entity.Core.Query.PlanCompiler.PlanCompiler.Assert(System.Boolean,System.String)")]
        internal new bool TryGetNewProperty(PropertyRef propertyRef, bool throwIfMissing, out EdmProperty property)
        {
            var result = m_propertyMap.TryGetValue(propertyRef, out property);
            if (throwIfMissing && !result)
            {
                {
                    PlanCompiler.Assert(false, "Unable to find property " + propertyRef + " in type " + Type.EdmType.Identity);
                }
            }
            return result;
        }
[ SuppressMessage ( " " , " " , MessageId = " " ) ] internal new bool TryGetNewProperty ( PropertyRef propertyRef , bool throwIfMissing , out EdmProperty property ) { var result = m_propertyMap . TryGetValue ( propertyRef , out property ) ; if ( throwIfMissing && ! result ) { { PlanCompiler . Assert ( false , " " + propertyRef + " " + Type . EdmType . Identity ) ; } } return result ; }
Try get the new property for the supplied propertyRef
Try get the new property for the supplied propertyRef
propertyRef
PropertyRef
property reference (on the old type)
property reference ( on the old type )
throwIfMissing
bool
throw if the property is not found
throw if the property is not found
EdmProperty
out
<not_specific>
property
<not_specific>
the corresponding property on the new type
the corresponding property on the new type