共用方式為


DbRelationshipNavigationExpression.NavigationSource 屬性

定義

取得 , DbExpression 指定導覽的起點,而且必須是實體實例的參考。

public System.Data.Entity.Core.Common.CommandTrees.DbExpression NavigationSource { get; }
member this.NavigationSource : System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public ReadOnly Property NavigationSource As DbExpression

屬性值

DbExpression,會指定巡覽起點的來源關聯性端的執行個體。

例外狀況

運算式為 null。

運算式未與 的 DbRelationshipNavigationExpression 命令樹相關聯,或其結果類型不等於或可提升為 屬性的 NavigateFrom 參考型別。

適用於