Class SqlTranslator<T>
Represents the Sql Translator for translating a IQuery object to Sql
Inheritance
object
Namespace: Umbraco.Cms.Infrastructure.Persistence.Querying
Assembly: Umbraco.Infrastructure.dll
Syntax
public class SqlTranslator<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
View SourceSqlTranslator(Sql<ISqlContext>, IQuery<T>?)
Declaration
public SqlTranslator(Sql<ISqlContext> sql, IQuery<T>? query)
Parameters
| Type | Name | Description |
|---|---|---|
| Sql<ISqlContext> | sql | |
| IQuery<T> | query |
Methods
View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |
Translate()
Declaration
public Sql<ISqlContext> Translate()
Returns
| Type | Description |
|---|---|
| Sql<ISqlContext> |