src/EntityFramework/Internal/EntityEntries/InternalCollectionEntry.cs
/// <summary>
///     Creates a new generic <see cref="DbMemberEntry{TEntity,TProperty}" /> backed by this internal entry.
///     The runtime type of the DbMemberEntry created will be <see cref="DbCollectionEntry{TEntity,TElement}" /> or a subtype of it.
/// </summary>
/// <typeparam name="TEntity"> The type of the entity. </typeparam>
/// <typeparam name="TProperty"> The type of the property. </typeparam>
/// <returns> The new entry. </returns>
Creates a new generic  backed by this internal entry.
The runtime type of the DbMemberEntry created will be  or a subtype of it.
Creates a new generic backed by this internal entry . The runtime type of the DbMemberEntry created will be or a subtype of it .
public override DbMemberEntry<TEntity, TProperty> CreateDbMemberEntry<TEntity, TProperty>()
        {
            return CreateDbCollectionEntry<TEntity, TProperty>(EntryMetadata.ElementType);
        }
public override DbMemberEntry < TEntity , TProperty > CreateDbMemberEntry < TEntity , TProperty > ( ) { return CreateDbCollectionEntry < TEntity , TProperty > ( EntryMetadata . ElementType ) ; }
Creates a new generic  backed by this internal entry.
Creates a new generic backed by this internal entry .
// The challenge here is that DbMemberEntry is defined in terms of the property type // (e.g. ICollection<Foo>) while DbCollectionEntry is defined in terms of the element // type (e.g. Foo).  We therefore need to dynamically create a DbCollectionEntry of // the correct type using reflection compiled to a delegate.
The new entry.
The new entry .
typeparam
The type of the entity.
The type of the entity .
typeparam
The type of the property.
The type of the property .