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
bodySelectQueryobjectTypeTypeisRecursiveboolnamestring
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
optionsWalkOptionscontextTContextfuncFunc<TContext, ISqlExpression, ISqlExpression>
Returns
Type Parameters
TContext