Add a column with a specific value to the UPDATE sql
Namespace: NHibernate.SqlCommandAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public SqlUpdateBuilder AddColumn( string columnName, Object val, ILiteralType literalType ) |
Visual Basic |
---|
Public Function AddColumn ( _ columnName As String, _ val As Object, _ literalType As ILiteralType _ ) As SqlUpdateBuilder |
Visual C++ |
---|
public: SqlUpdateBuilder^ AddColumn( String^ columnName, Object^ val, ILiteralType^ literalType ) |
Parameters
- columnName
- Type: System..::..String
The name of the Column to add.
- val
- Type: System..::..Object
The value to set for the column.
- literalType
- Type: NHibernate.Type..::..ILiteralType
The NHibernateType to use to convert the value to a sql string.