Namespace LinqToDB.Internal.SqlQuery
Classes
- CteAnnotationNames
Well-known annotation names carried on Annotations. Cross-provider keys are flat. Provider-specific keys, when they appear, belong in nested classes.
- NullabilityContext
Provides information about expression nullability in current (sub)query context based on nullability annotations on expressions and outer joins.
- PseudoFunctions
Contains names and create helpers for pseudo-functions, generated by linq2db and then converted to database-specific SQL by provider-specific SQL optimizer.
- QueryElement
Base class for SQL AST nodes. Use only if you need to add debug functionality to AST node.
- SqlCteField
Column definition inside a CteClause (stored in Fields). Represents CTE schema, not a table-bound field reference — runtime references to a CTE's columns go through SqlCteTableField instead.
- SqlCteTableField
Field in SqlCteTable. Delegates Name, Type, CanBeNullable to the referenced SqlCteField.
- SqlExtensions
This is internal API and is not intended for use by Linq To DB applications. It may change or be removed without further notice.
- SqlFieldBase
Abstract base class for table-bound SQL field references: SqlField and SqlCteTableField. Contains common properties shared by field references that are resolved against an ISqlTableSource.
- SqlFragment
Untyped (doesn't have type of type information should be hidden from Linq To DB) SQL fragment with parameters.
- SqlParameterCastExpression
Marks one usage of a SqlParameter as needing an explicit type in the generated SQL.
- SqlPredicate.IsTrue
'[NOT] Expr1 IS TRUE' predicate.
Interfaces
- IQueryElement
Sql AST node interface.
- ISqlExtensionBuilder
Base interface for all extension builders.
- ISqlQueryExtensionBuilder
Interface for custom query extension builder.
- ISqlTableExtensionBuilder
Interface for custom table extension builder.
Enums
- JoinType
Type of JOIN operation.
- NullsDefaultOrdering
Describes how a provider places
NULLvalues in anORDER BYby default (i.e. when noNULLS FIRST/NULLS LASTis specified). Used to elide a requested Sql.NullsPosition when it already matches the provider's natural placement for the item's sort direction.
- ParametersNullabilityType
Provides information when function or expression could return null.
- QueryElementType
SQL AST node types.