src/Shared/EntityFramework/Infrastructure/DbCollectionEntry.cs
// <summary>
// Creates a <see cref="DbCollectionEntry" /> from information in the given <see cref="InternalCollectionEntry" />.
// Use this method in preference to the constructor since it may potentially create a subclass depending on
// the type of member represented by the InternalCollectionEntry instance.
// </summary>
// <param name="internalCollectionEntry"> The internal collection entry. </param>
// <returns> The new entry. </returns>
Creates a  from information in the given .
Use this method in preference to the constructor since it may potentially create a subclass depending on
the type of member represented by the InternalCollectionEntry instance.
Creates a from information in the given . Use this method in preference to the constructor since it may potentially create a subclass depending on the type of member represented by the InternalCollectionEntry instance .
internal static DbCollectionEntry Create(InternalCollectionEntry internalCollectionEntry)
        {
            DebugCheck.NotNull(internalCollectionEntry);
            return (DbCollectionEntry)internalCollectionEntry.CreateDbMemberEntry();
        }
internal static DbCollectionEntry Create ( InternalCollectionEntry internalCollectionEntry ) { DebugCheck . NotNull ( internalCollectionEntry ) ; return ( DbCollectionEntry ) internalCollectionEntry . CreateDbMemberEntry ( ) ; }
Creates a  from information in the given .
Creates a from information in the given .
The new entry.
The new entry .
internalCollectionEntry
InternalCollectionEntry
The internal collection entry.
The internal collection entry .