DbEntityEntry.Reference(String) 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.
Gets an object that represents the reference (i.e. non-collection) navigation property from this entity to another entity.
public System.Data.Entity.Infrastructure.DbReferenceEntry Reference (string navigationProperty);
member this.Reference : string -> System.Data.Entity.Infrastructure.DbReferenceEntry
Public Function Reference (navigationProperty As String) As DbReferenceEntry
Parameters
- navigationProperty
- String
The name of the navigation property.
Returns
An object representing the navigation property.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework