Class SelfHierarchyListOptions<T>
- Namespace
- Z.EntityFramework.Extensions
- Assembly
- Z.EntityFramework.Extensions.dll
to self hierarchy option.
public class SelfHierarchyListOptions<T>
Type Parameters
T
- Inheritance
-
SelfHierarchyListOptions<T>
- Inherited Members
Constructors
SelfHierarchyListOptions()
public SelfHierarchyListOptions()
Properties
ColumnMappings
Gets or sets the column mappings.
public List<SelfHierarchyListColumnMapping> ColumnMappings { get; set; }
Property Value
- List<SelfHierarchyListColumnMapping>
The column mappings.
FlatListRecursionLevel
Gets or sets the flat list recursion level, default = 0 which include only first query item.
public int FlatListRecursionLevel { get; set; }
Property Value
- int
The flat list recursion level, default = 0 which include only first query item.
InverseMapping
Gets or sets a value indicating whether the inverse mapping.
public bool InverseMapping { get; set; }
Property Value
- bool
True if inverse mapping, false if not.
JoinExpression
Gets or sets the join expression.
public Expression<Func<T, object>> JoinExpression { get; set; }
Property Value
- Expression<Func<T, object>>
The join expression.
MaxRecursion
Gets or sets the maximum recursion to perform.
public int MaxRecursion { get; set; }
Property Value
- int
The maximum recursion to perform.
SelfHierarchyQuery
Gets or sets the self hierarchy query.
public Func<IQueryable<T>, IQueryable<T>> SelfHierarchyQuery { get; set; }
Property Value
- Func<IQueryable<T>, IQueryable<T>>
The self hierarchy query.