SetColumn

Defines a set column for an update statement

Namespace:
Inetdev.Data.Query
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Inetdev.Data.Query.Column

Constructors

SetColumn

Default constructor

Signature:
public Void SetColumn()

SetColumn

Initializes a new instance of SetColumn that sets the default value to the column.

Signature:
public Void SetColumn(field)
Parameters
Name Type Summary
field Field Field configuration.
Exceptions
Type Summary
ArgumentNullException Thrown when field is null.

SetColumn

Initializes a new instance of SetColumn.

Signature:
public Void SetColumn(field, value)
Parameters
Name Type Summary
field Field Field configuration
value Object Value to be set.
Exceptions
Type Summary
ArgumentNullException Thrown when field is null.

SetColumn

Initializes a new instance of SetColumn.

Signature:
public Void SetColumn(field, value, parameterName)
Parameters
Name Type Summary
field Field Field configuration.
value Object Value to be set.
parameterName String Parameter name to use within the command.
Exceptions
Type Summary
ArgumentNullException Thrown when field is null.

SetColumn

Initializes a new instance of SetColumn that sets the /// default value to the column.

Signature:
public Void SetColumn(fieldName, type)
Parameters
Name Type Summary
fieldName String Field name.
type DbType Field data type.

SetColumn

Initializes a new instance of SetColumn.

Signature:
public Void SetColumn(fieldName, type, value)
Parameters
Name Type Summary
fieldName String Field name.
type DbType Field data type.
value Object The value to be assigned to the column.

SetColumn

Initializes a new instance of SetColumn.

Signature:
public Void SetColumn(fieldName, type, value, parameterName)
Parameters
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.

Properties

Default

Whether the column must be set with it default value.

Signature:
public Boolean Default { get; set; }

ParameterName

Column's parameter name.

Signature:
public String ParameterName { get; set; }

Type

Data type of the column.

Signature:
public DbType Type { get; set; }

Value

Value to be set to the column.

Signature:
public Object Value { get; set; }