Add a column with a specific value to the INSERT sql

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

Syntax

C#
public SqlInsertBuilder AddColumn(
	string columnName,
	string val
)
Visual Basic
Public Function AddColumn ( _
	columnName As String, _
	val As String _
) As SqlInsertBuilder
Visual C++
public:
SqlInsertBuilder^ AddColumn(
	String^ columnName, 
	String^ val
)

Parameters

columnName
Type: System..::..String
The name of the Column to add.
val
Type: System..::..String
A valid sql string to set as the value of the column.

Return Value

The SqlInsertBuilder.

See Also