DbMemberEntry.Cast<TEntity,TProperty> Method

Definition

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

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