Class SqlStatement
public abstract class SqlStatement : QueryElement, IQueryElement
- Inheritance
-
SqlStatement
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
SqlStatement()
protected SqlStatement()
Properties
DebugSqlText
protected string DebugSqlText { get; }
Property Value
IsParameterDependent
public abstract bool IsParameterDependent { get; set; }
Property Value
ParentStatement
Used internally for SQL Builder
public SqlStatement? ParentStatement { get; set; }
Property Value
QueryType
public abstract QueryType QueryType { get; }
Property Value
SelectQuery
public abstract SelectQuery? SelectQuery { get; set; }
Property Value
SqlQueryExtensions
public List<SqlQueryExtension>? SqlQueryExtensions { get; set; }
Property Value
SqlText
public string SqlText { get; }
Property Value
Tag
public SqlComment? Tag { get; }
Property Value
Methods
GetElementHashCode()
public override int GetElementHashCode()
Returns
GetTableSource(ISqlTableSource, out bool)
public abstract ISqlTableSource? GetTableSource(ISqlTableSource table, out bool noAlias)
Parameters
tableISqlTableSourcenoAliasbool
Returns
IsDependedOn(SqlTable)
Indicates when optimizer can not remove reference for particular table
public virtual bool IsDependedOn(SqlTable table)
Parameters
tableSqlTable