Export (0) Print
Expand All

DbEntityEntry(Of 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)

'Declaration
Public Function Reference ( _
	navigationProperty As String _
) As DbReferenceEntry
'Usage
Dim instance As DbEntityEntry 
Dim navigationProperty As String 
Dim returnValue As DbReferenceEntry 

returnValue = instance.Reference(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