DbPropertyEntry.Cast<TEntity, TProperty> Method ()
Returns the equivalent generic DbPropertyEntry<TEntity, TProperty> object.
Assembly: EntityFramework (in EntityFramework.dll)
public DbPropertyEntry<TEntity, TProperty> Cast<TEntity, TProperty>() where TEntity : class
Return Value
Type: System.Data.Entity.Infrastructure.DbPropertyEntry<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.