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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework