DbCollectionEntry.Cast<TEntity,TElement> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the equivalent generic DbCollectionEntry<TEntity,TElement> object.
public System.Data.Entity.Infrastructure.DbCollectionEntry<TEntity,TElement> Cast<TEntity,TElement> () where TEntity : class;
override this.Cast : unit -> System.Data.Entity.Infrastructure.DbCollectionEntry<'Entity, 'Element (requires 'Entity : null)> (requires 'Entity : null)
Public Function Cast(Of TEntity As Class, TElement As Class) () As DbCollectionEntry(Of TEntity, TElement)
Type Parameters
- TEntity
The type of entity on which the member is declared.
- TElement
The type of the collection element.
Returns
The equivalent generic object.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework