SD.LLBLGen.Pro.ORMSupportClasses by Solutions Design bv

<PackageReference Include="SD.LLBLGen.Pro.ORMSupportClasses" Version="5.7.3-hotfix-20201216" />

.NET API 1,718,784 bytes

 PathEdge<TEndNode>

public class PathEdge<TEndNode> : IPathEdge where TEndNode : IEntityCore
Class to specify a path edge. These edges are used to specify a prefetch path inside a linq query.
public IPathEdge[] ChildEdges { get; }

Gets the list of child edges of this edge, which are the edges from the related entity further down the path.

public Type EndNodeType { get; }

Gets the end type of the node, the entity type which acts as the child/ren to fetch for the parent entity (the type of the related entity/ies)

Gets the fields to exclude or include.

Gets the filter lambda for this edge

The From Clause directives (hints/temporal predicates) to use for this node.

public int Limiter { get; }

Gets the limiter to limit the # of elements returned. 0 is all elements (default)

public bool NoCaching { get; }

Gets a value indicating whether the query should use its parent's caching directive (false, default) or should bypass the parent's caching directive and always fetch the query from the database (true).

Gets the prefetch path element which specifies the entity collection or single entity to fetch with using this edge

Gets the sort clause expressions, which are created from the lambda expressions. Ignored if Sorter is set.

public ISortExpression Sorter { get; }

Gets the sorter to use when fetching the related entity/ies

public PathEdge(IPrefetchPathElementCore pathElement, IPathEdge[] childEdges)

Initializes a new instance of the PathEdge<T> class.

public PathEdge(IPrefetchPathElementCore pathElement, Expression<Func<TEndNode, bool>> filterLambda, IPathEdge[] childEdges)

Initializes a new instance of the PathEdge<T> class.

public PathEdge(IPrefetchPathElementCore pathElement, Expression<Func<TEndNode, bool>> filterLambda, int limiter, IPathEdge[] childEdges)

Initializes a new instance of the PathEdge<T> class.

public PathEdge(IPrefetchPathElementCore pathElement, Expression<Func<TEndNode, bool>> filterLambda, ISortExpression sorter, int limiter, IPathEdge[] childEdges)

Initializes a new instance of the PathEdge<T> class.

public PathEdge(IPrefetchPathElementCore pathElement, Expression<Func<TEndNode, bool>> filterLambda, ISortExpression sorter, int limiter, ExcludeIncludeFieldsList fieldsToExcludeInclude, IPathEdge[] childEdges)

Initializes a new instance of the PathEdge<T> class.

Adds the from clause directive specified to this element

public PathEdge<TEndNode> WithNoCaching()

Sets the NoCaching flag to true, which means the query should bypass the parent's caching directive and always fetch the query from the database.