Adds the Property's columns to the INSERT sql

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

Syntax

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

Parameters

columnName
Type: System..::..String
The column name for the Property
propertyType
Type: NHibernate.Type..::..IType
The IType of the property.

Return Value

The SqlInsertBuilder.

Remarks

The column will be associated with a parameter.

See Also