DbRelationshipNavigationExpression.NavigationSource Property
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 or sets an DbExpression that specifies the starting point of the navigation and must be a reference to an entity instance.
public:
property System::Data::Common::CommandTrees::DbExpression ^ NavigationSource { System::Data::Common::CommandTrees::DbExpression ^ get(); };
public System.Data.Common.CommandTrees.DbExpression NavigationSource { get; }
member this.NavigationSource : System.Data.Common.CommandTrees.DbExpression
Public ReadOnly Property NavigationSource As DbExpression
Property Value
An DbExpression that specifies the instance of the source relationship end from which navigation should occur.
Exceptions
The expression is null
.
The expression is not associated with the command tree of the DbRelationshipNavigationExpression, or its result type is not equal or promotable to the reference type of the NavigateFrom property.