src/Shared/EntityFramework/Infrastructure/DbEntityEntry`.cs
/// <summary>
/// Gets an object that represents the collection navigation property from this
/// entity to a collection of related entities.
/// </summary>
/// <typeparam name="TElement"> The type of elements in the collection. </typeparam>
/// <param name="navigationProperty"> An expression representing the navigation property. </param>
/// <returns> An object representing the navigation property. </returns>
Gets an object that represents the collection navigation property from this
entity to a collection of related entities.
Gets an object that represents the collection navigation property from this entity to a collection of related entities .
[SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
        public DbCollectionEntry<TEntity, TElement> Collection<TElement>(
            Expression<Func<TEntity, ICollection<TElement>>> navigationProperty) where TElement : class
        {
            Check.NotNull(navigationProperty, "navigationProperty");
            return
                Collection<TElement>(
                    DbHelpers.ParsePropertySelector(navigationProperty, "Collection", "navigationProperty"));
        }
[ SuppressMessage ( " " , " " ) ] public DbCollectionEntry < TEntity , TElement > Collection < TElement > ( Expression < Func < TEntity , ICollection < TElement > > > navigationProperty ) where TElement : class { Check . NotNull ( navigationProperty , " " ) ; return Collection < TElement > ( DbHelpers . ParsePropertySelector ( navigationProperty , " " , " " ) ) ; }
Gets an object that represents the collection navigation property from this
entity to a collection of related entities.
Gets an object that represents the collection navigation property from this entity to a collection of related entities .
An object representing the navigation property.
An object representing the navigation property .
navigationProperty
Expression<Func<TEntity, ICollection<TElement>>>
An expression representing the navigation property.
An expression representing the navigation property .
typeparam
The type of elements in the collection.
The type of elements in the collection .