Export (0) Print
Expand All

DbReferenceEntry.Cast<TEntity, TProperty> Method

Entity Framework 5.0

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

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public DbReferenceEntry<TEntity, TProperty> Cast<TEntity, TProperty>()
where TEntity : class

Type Parameters

TEntity

The type of entity on which the member is declared.

TProperty

The type of the property.

Return Value

Type: System.Data.Entity.Infrastructure.DbReferenceEntry<TEntity, TProperty>
The equivalent generic object.
Show:
© 2014 Microsoft