Method | Description | |
---|---|---|
Clone ( ) : |
Clones this SqlUpdate query.
|
|
Dec ( IField field, int value ) : |
Decreases a fields value.
|
|
Dec ( string field, int value ) : |
Decreases a fields value.
|
|
Format ( string tableName, string where, List |
Formats an SQL UPDATE statement.
|
|
Inc ( IField field, int value ) : |
Increases a fields value.
|
|
Inc ( string field, int value ) : |
Increases a fields value.
|
|
RemoveT0Reference ( string expression ) : string | ||
SetNull ( string field ) : |
Sets field value to NULL.
|
|
SetTo ( IField field, string value ) : |
Sets field value to the expression.
|
|
SetTo ( string field, string value ) : |
Sets field value to the expression.
|
|
SqlUpdate ( string tableName ) : System |
Creates a new SqlUpdate query.
|
|
ToString ( ) : string |
Gets string representation of SqlUpdate query.
|
|
Where ( ) : |
Adds conditions to WHERE clause of the query.
|
|
Where ( string condition ) : |
Adds a condition to WHERE clause of the query.
|
Method | Description | |
---|---|---|
IFilterableQuery ( string condition ) : void |
Adds a condition to WHERE clause of the query.
|
|
ISetFieldByStatement ( string field, string value ) : void |
Sets field value to the expression.
|
|
Initialize ( string tableName ) : void |
public Dec ( IField field, int value ) : |
||
field | IField | /// Field (required). |
value | int | /// Decrease amount (can be negative). |
return |
public Dec ( string field, int value ) : |
||
field | string | /// Field name (required). |
value | int | /// Decrease amount (can be negative). |
return |
public static Format ( string tableName, string where, List |
||
tableName | string | /// Tablename (required). |
where | string | /// WHERE clause (can be null). |
nameValuePairs | List |
/// Field name and values. Should have structure of |
return | string |
public Inc ( IField field, int value ) : |
||
field | IField | /// Field (required). |
value | int | /// Increase amount (can be negative). |
return |
public Inc ( string field, int value ) : |
||
field | string | /// Field name (required). |
value | int | /// Increase amount (can be negative). |
return |
public static RemoveT0Reference ( string expression ) : string | ||
expression | string | |
return | string |
public SetNull ( string field ) : |
||
field | string | /// Field (required). |
return |
public SetTo ( IField field, string value ) : |
||
field | IField | /// Field name (required). |
value | string | /// Field expression (required). |
return |
public SetTo ( string field, string value ) : |
||
field | string | /// Field name (required). |
value | string | /// Field value (expression, required). |
return |
public SqlUpdate ( string tableName ) : System | ||
tableName | string | /// Tablename (required). |
return | System |
public Where ( string condition ) : |
||
condition | string | /// Condition. |
return |