Defines a set column for an update statement
Default constructor
public Void SetColumn()Initializes a new instance of SetColumn that sets the default value to the column.
public Void SetColumn(field)| Name | Type | Summary |
|---|---|---|
| field | Field | Field configuration. |
| Type | Summary |
|---|---|
| ArgumentNullException | Thrown when field is null. |
Initializes a new instance of SetColumn.
public Void SetColumn(field, value)| Name | Type | Summary |
|---|---|---|
| field | Field | Field configuration |
| value | Object | Value to be set. |
| Type | Summary |
|---|---|
| ArgumentNullException | Thrown when field is null. |
Initializes a new instance of SetColumn.
public Void SetColumn(field, value, parameterName)| Name | Type | Summary |
|---|---|---|
| field | Field | Field configuration. |
| value | Object | Value to be set. |
| parameterName | String | Parameter name to use within the command. |
| Type | Summary |
|---|---|
| ArgumentNullException | Thrown when field is null. |
Initializes a new instance of SetColumn that sets the /// default value to the column.
public Void SetColumn(fieldName, type)| Name | Type | Summary |
|---|---|---|
| fieldName | String | Field name. |
| type | DbType | Field data type. |
Initializes a new instance of SetColumn.
public Void SetColumn(fieldName, type, value)| Name | Type | Summary |
|---|---|---|
| fieldName | String | Field name. |
| type | DbType | Field data type. |
| value | Object | The value to be assigned to the column. |
Initializes a new instance of SetColumn.
public Void SetColumn(fieldName, type, value, parameterName)| Name | Type | Summary |
|---|---|---|
| fieldName | String | Field name. |
| type | DbType | Field data type. |
| value | Object | The value to be assigned to the column. |
| parameterName | String | The name for the command parameter. |
Whether the column must be set with it default value.
public Boolean Default { get; set; }Column's parameter name.
public String ParameterName { get; set; }Data type of the column.
public DbType Type { get; set; }Value to be set to the column.
public Object Value { get; set; }In this document