DbReferenceEntry.Cast<TEntity, TProperty> Method ()
Returns the equivalent generic DbReferenceEntry<TEntity, TProperty> object.
Assembly: EntityFramework (in EntityFramework.dll)
public DbReferenceEntry<TEntity, TProperty> Cast<TEntity, TProperty>() where TEntity : class
Return Value
Type: System.Data.Entity.Infrastructure.DbReferenceEntry<TEntity, TProperty>The equivalent generic object.
Type Parameters
- TEntity
The type of entity on which the member is declared.
- TProperty
The type of the property.