src/Shared/EntityFramework/Infrastructure/DbReferenceEntry`.cs
// <summary>
// Creates a <see cref="DbReferenceEntry{TEntity,TProperty}" /> from information in the given
// <see
//     cref="InternalReferenceEntry" />
// .
// 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="internalReferenceEntry"> The internal reference 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 DbReferenceEntry<TEntity, TProperty> Create(InternalReferenceEntry internalReferenceEntry)
        {
            DebugCheck.NotNull(internalReferenceEntry);
            return
                (DbReferenceEntry<TEntity, TProperty>)internalReferenceEntry.CreateDbMemberEntry<TEntity, TProperty>();
        }
internal static DbReferenceEntry < TEntity , TProperty > Create ( InternalReferenceEntry internalReferenceEntry ) { DebugCheck . NotNull ( internalReferenceEntry ) ; return ( DbReferenceEntry < TEntity , TProperty > ) internalReferenceEntry . CreateDbMemberEntry < TEntity , TProperty > ( ) ; }
Creates a  from information in the given
Creates a from information in the given
The new entry.
The new entry .
internalReferenceEntry
InternalReferenceEntry
The internal reference entry.
The internal reference entry .