次の方法で共有


ObjectQuery<T>.Include(String) メソッド

定義

クエリ結果に含める関連オブジェクトを指定します。

public System.Data.Entity.Core.Objects.ObjectQuery<T> Include(string path);
member this.Include : string -> System.Data.Entity.Core.Objects.ObjectQuery<'T>
Public Function Include (path As String) As ObjectQuery(Of T)

パラメーター

path
String

クエリの結果で返す関連オブジェクトをドットで区切った一覧。

戻り値

定義されたクエリ パスを使用する新しい ObjectQuery<T>

例外

path が null です。

path が空です。

適用対象