src/Shared/EntityFramework/Internal/Linq/InternalDbSet`.cs
// <summary>
// Creates an instance of this class.  This method is used with CreateDelegate to cache a delegate
// that can create a generic instance without calling MakeGenericType every time.
// </summary>
// <param name="internalSet"> The internal set to wrap, or null if a new internal set should be created. </param>
// <returns> The set. </returns>
Creates an instance of this class.  This method is used with CreateDelegate to cache a delegate
that can create a generic instance without calling MakeGenericType every time.
Creates an instance of this class . This method is used with CreateDelegate to cache a delegate that can create a generic instance without calling MakeGenericType every time .
public static InternalDbSet<TEntity> Create(InternalContext internalContext, IInternalSet internalSet)
        {
            return
                new InternalDbSet<TEntity>(
                    (IInternalSet<TEntity>)internalSet ?? new InternalSet<TEntity>(internalContext));
        }
public static InternalDbSet < TEntity > Create ( InternalContext internalContext , IInternalSet internalSet ) { return new InternalDbSet < TEntity > ( ( IInternalSet < TEntity > ) internalSet ?? new InternalSet < TEntity > ( internalContext ) ) ; }
Creates an instance of this class.
Creates an instance of this class .
None
internalContext
InternalContext
internalSet
IInternalSet
The internal set to wrap, or null if a new internal set should be created.
The internal set to wrap or null if a new internal set should be created .