DbEntityEntry.Reference Method (String)
Gets an object that represents the reference (i.e. non-collection) navigation property from this entity to another entity.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- navigationProperty
-
Type:
System.String
The name of the navigation property.
Return Value
Type: System.Data.Entity.Infrastructure.DbReferenceEntryAn object representing the navigation property.