Share via


DbPropertyEntry.Cast<TEntity,TProperty> Method

Definition

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

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