Class CteClause
public class CteClause : IQueryElement, ISqlExpressionWalkable
- Inheritance
-
CteClause
- Implements
- Extension Methods
Constructors
CteClause(SelectQuery?, Type, bool, string?)
public CteClause(SelectQuery? body, Type objectType, bool isRecursive, string? name)
Parameters
body
SelectQueryobjectType
TypeisRecursive
boolname
string
Fields
CteIDCounter
public static int CteIDCounter
Field Value
Properties
Body
public SelectQuery? Body { get; set; }
Property Value
CteID
public int CteID { get; }
Property Value
ElementType
public QueryElementType ElementType { get; }
Property Value
Fields
public SqlField[]? Fields { get; }
Property Value
- SqlField[]
IsRecursive
public bool IsRecursive { get; set; }
Property Value
Name
public string? Name { get; set; }
Property Value
ObjectType
public Type ObjectType { get; set; }
Property Value
Methods
RegisterFieldMapping(int, Func<SqlField>)
public SqlField RegisterFieldMapping(int index, Func<SqlField> fieldFactory)
Parameters
Returns
ToString(StringBuilder, Dictionary<IQueryElement, IQueryElement>)
public StringBuilder ToString(StringBuilder sb, Dictionary<IQueryElement, IQueryElement> dic)
Parameters
Returns
Walk<TContext>(WalkOptions, TContext, Func<TContext, ISqlExpression, ISqlExpression>)
public ISqlExpression? Walk<TContext>(WalkOptions options, TContext context, Func<TContext, ISqlExpression, ISqlExpression> func)
Parameters
options
WalkOptionscontext
TContextfunc
Func<TContext, ISqlExpression, ISqlExpression>
Returns
Type Parameters
TContext