/// <summary> /// Gets an object that represents the collection navigation property from this /// entity to a collection of related entities. /// </summary> /// <param name="navigationProperty"> The name of the navigation property. </param> /// <returns> An object representing the navigation property. </returns> public DbCollectionEntry Collection(string navigationProperty) { Check.NotEmpty(navigationProperty, "navigationProperty"); return(DbCollectionEntry.Create(_internalEntityEntry.Collection(navigationProperty))); }