Adds columns with a specific value to the UPDATE sql

Namespace: NHibernate.SqlCommand
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public SqlUpdateBuilder AddColumns(
	string[] columnsName,
	string val
)
Visual Basic
Public Function AddColumns ( _
	columnsName As String(), _
	val As String _
) As SqlUpdateBuilder
Visual C++
public:
SqlUpdateBuilder^ AddColumns(
	array<String^>^ columnsName, 
	String^ val
)

Parameters

columnsName
Type: array<System..::..String>[]()[][]
The names of the Columns to add.
val
Type: System..::..String
A valid sql string to set as the value of the column. This value is assigned to each column.

Return Value

The SqlUpdateBuilder.

See Also