DbReferenceEntry.Cast<TEntity,TProperty> Method

Definition

Returns the equivalent generic DbReferenceEntry<TEntity,TProperty> object.

public System.Data.Entity.Infrastructure.DbReferenceEntry<TEntity,TProperty> Cast<TEntity,TProperty> () where TEntity : class;
override this.Cast : unit -> System.Data.Entity.Infrastructure.DbReferenceEntry<'Entity, 'Property (requires 'Entity : null)> (requires 'Entity : null)
Public Function Cast(Of TEntity As Class, TProperty As Class) () As DbReferenceEntry(Of TEntity, TProperty)

Type Parameters

TEntity

The type of entity on which the member is declared.

TProperty

The type of the property.

Returns

The equivalent generic object.

Applies to