src/Shared/EntityFramework/Internal/EntityEntries/NavigationEntryMetadata.cs
// <summary>
// Creates a new <see cref="InternalMemberEntry" /> the runtime type of which will be
// determined by the metadata.
// </summary>
// <param name="internalEntityEntry"> The entity entry to which the member belongs. </param>
// <param name="parentPropertyEntry"> The parent property entry which will always be null for navigation entries. </param>
// <returns> The new entry. </returns>
Creates a new  the runtime type of which will be
determined by the metadata.
Creates a new the runtime type of which will be determined by the metadata .
public override InternalMemberEntry CreateMemberEntry(
            InternalEntityEntry internalEntityEntry, InternalPropertyEntry parentPropertyEntry)
        {
            Debug.Assert(parentPropertyEntry == null, "Navigation entries cannot be nested; parentPropertyEntry must be null.");
            return _isCollection
                       ? (InternalMemberEntry)new InternalCollectionEntry(internalEntityEntry, this)
                       : new InternalReferenceEntry(internalEntityEntry, this);
        }
public override InternalMemberEntry CreateMemberEntry ( InternalEntityEntry internalEntityEntry , InternalPropertyEntry parentPropertyEntry ) { Debug . Assert ( parentPropertyEntry == null , " " ) ; return _isCollection ? ( InternalMemberEntry ) new InternalCollectionEntry ( internalEntityEntry , this ) : new InternalReferenceEntry ( internalEntityEntry , this ) ; }
Creates a new  the runtime type of which will be
determined by the metadata.
Creates a new the runtime type of which will be determined by the metadata .
The new entry.
The new entry .
internalEntityEntry
InternalEntityEntry
The entity entry to which the member belongs.
The entity entry to which the member belongs .
parentPropertyEntry
InternalPropertyEntry
The parent property entry which will always be null for navigation entries.
The parent property entry which will always be null for navigation entries .