Class ExpandClause
The expand clause of an EntityQuery - the related entities the client asked to have loaded along with the results.
public class ExpandClause
- Inheritance
-
ExpandClause
- Inherited Members
Remarks
Each path names a navigation property, or several joined with '.' to reach further, as in "OrderDetails.Product".
Constructors
ExpandClause(IEnumerable<string>)
Create an expand clause over a set of navigation paths.
public ExpandClause(IEnumerable<string> propertyPaths)
Parameters
propertyPathsIEnumerable<string>The navigation paths to expand, e.g. "OrderDetails.Product".
Properties
PropertyPaths
The navigation paths to expand.
public IEnumerable<string> PropertyPaths { get; }
Property Value
Methods
From(IEnumerable?)
Build an expand clause, or null if there is nothing to expand.
public static ExpandClause? From(IEnumerable? propertyPaths)
Parameters
propertyPathsIEnumerableThe navigation paths to expand; null when the query has no expand clause.
Returns
- ExpandClause
The clause, or null if
propertyPathswas null.