Table of Contents

Class ExpandClause

Namespace
Breeze.Core
Assembly
Breeze.Core.dll

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

propertyPaths IEnumerable<string>

The navigation paths to expand, e.g. "OrderDetails.Product".

Properties

PropertyPaths

The navigation paths to expand.

public IEnumerable<string> PropertyPaths { get; }

Property Value

IEnumerable<string>

Methods

From(IEnumerable?)

Build an expand clause, or null if there is nothing to expand.

public static ExpandClause? From(IEnumerable? propertyPaths)

Parameters

propertyPaths IEnumerable

The navigation paths to expand; null when the query has no expand clause.

Returns

ExpandClause

The clause, or null if propertyPaths was null.