DbReferenceEntry.Cast<TEntity,TProperty> Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the equivalent generic DbReferenceEntry<TEntity,TProperty> object.
public System.Data.Entity.Infrastructure.DbReferenceEntry<TEntity,TProperty> Cast<TEntity,TProperty>() where TEntity : class;
	override this.Cast : unit -> System.Data.Entity.Infrastructure.DbReferenceEntry<'Entity, 'Property (requires 'Entity : null)> (requires 'Entity : null)
	Public Function Cast(Of TEntity As Class, TProperty As Class) () As DbReferenceEntry(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.