src/Shared/EntityFramework/Core/Objects/Internal/ObjectFullSpanRewriter.cs
// <summary>
// Retrieves the Entity (result or element) type produced by a Navigation Property.
// </summary>
// <param name="navProp"> The navigation property </param>
// <returns> The Entity type produced by the navigation property. This may be the immediate result type (if the result is at most one) or the element type of the result type, otherwise. </returns>
Retrieves the Entity (result or element) type produced by a Navigation Property.
Retrieves the Entity ( result or element ) type produced by a Navigation Property .
private static EntityType EntityTypeFromResultType(NavigationProperty navProp)
        {
            EntityType retType = null;
            TryGetEntityType(navProp.TypeUsage, out retType);
            Debug.Assert(retType != null, "Navigation property has non-Entity and non-Entity collection result type?");
            return retType;
        }
private static EntityType EntityTypeFromResultType ( NavigationProperty navProp ) { EntityType retType = null ; TryGetEntityType ( navProp . TypeUsage , out retType ) ; Debug . Assert ( retType != null , " " ) ; return retType ; }
Retrieves the Entity (result or element) type produced by a Navigation Property.
Retrieves the Entity ( result or element ) type produced by a Navigation Property .
// Currently, navigation properties may only return an Entity or Collection<Entity> result
The Entity type produced by the navigation property. This may be the immediate result type (if the result is at most one) or the element type of the result type, otherwise.
The Entity type produced by the navigation property . This may be the immediate result type ( if the result is at most one ) or the element type of the result type otherwise .
navProp
NavigationProperty
The navigation property
The navigation property