Information
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::Reference Method (String^)

Entity Framework 6.0
 

Gets an object that represents the reference (i.e. non-collection) navigation property from this entity to another entity.

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

public:
DbReferenceEntry^ Reference(
	String^ navigationProperty
)

Parameters

navigationProperty
Type: System::String^

The name of the navigation property.

Return Value

Type: System.Data.Entity.Infrastructure::DbReferenceEntry^

An object representing the navigation property.

Return to top
Show: