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