Export (0) Print
Expand All

DbEntityEntry<TEntity>.Reference Method (String)

Entity Framework 5.0

Gets an object that represents the reference (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.
Show:
© 2014 Microsoft