src/Shared/EntityFramework/Internal/EntityEntries/InternalCollectionEntry.cs
// <summary>
// Creates a new generic <see cref="DbMemberEntry{TEntity,TProperty}" /> backed by this internal entry.
// The actual subtype of the DbCollectionEntry created depends on the metadata of this internal entry.
// </summary>
// <typeparam name="TEntity"> The type of the entity. </typeparam>
// <typeparam name="TElement"> The type of the element. </typeparam>
// <returns> The new entry. </returns>
Creates a new generic  backed by this internal entry.
The actual subtype of the DbCollectionEntry created depends on the metadata of this internal entry.
Creates a new generic backed by this internal entry . The actual subtype of the DbCollectionEntry created depends on the metadata of this internal entry .
public virtual DbCollectionEntry<TEntity, TElement> CreateDbCollectionEntry<TEntity, TElement>()
            where TEntity : class
        {
            return new DbCollectionEntry<TEntity, TElement>(this);
        }
public virtual DbCollectionEntry < TEntity , TElement > CreateDbCollectionEntry < TEntity , TElement > ( ) where TEntity : class { return new DbCollectionEntry < TEntity , TElement > ( this ) ; }
Creates a new generic  backed by this internal entry.
Creates a new generic backed by this internal entry .
The new entry.
The new entry .
typeparam
The type of the entity.
The type of the entity .
typeparam
The type of the element.
The type of the element .