SqlExtras class
Represents different extra clauses of SELECT query.
public class Korzh.EasyQuery.Db.SqlExtrasPackage: Korzh.EasyQuery.Db (targets: netstandard2.0)
Assembly: Korzh.EasyQuery.Db.dll
Constructors
Section titled “Constructors”| Name | Type | Description |
|---|---|---|
| SqlExtras() | void |
Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| LazyJoins | bool | Gets or sets a value indicating whether “lazy outer joins” scheme is used. If it is |
| LimitClause | string | Gets or sets the content of LIMIT clause in result SQL statement |
| SelectDistinct | bool | Gets or sets a value indicating whether SELECT clause must contain DISTINCT option. |
| SelectTop | string | Gets or sets the content of TOP command in SELECT clause. |
Methods
Section titled “Methods”| Name | Type | Description |
|---|---|---|
ReadFromJsonAsync(JsonReader reader) | Task | Read the SQL extras from JSON (asynchronous way). |
SetClauseByName(string propName, object propValue) | void | Sets one property according to its name and value. |
WriteToJsonAsync(JsonWriter writer) | Task | Writes the content of SqlExtras object to JSON (asynchronous way). |