The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DbEntityEntry::Cast<TEntity> Method ()
Entity Framework 6.0
Returns a new instance of the generic DbEntityEntry<TEntity> class for the given generic type for the tracked entity represented by this object. Note that the type of the tracked entity must be compatible with the generic type or an exception will be thrown.
Assembly: EntityFramework (in EntityFramework.dll)
Show: