Add a column with a specific value to the INSERT sql
Namespace:
NHibernate.SqlCommandAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function AddColumn ( _ columnName As String, _ val As Object, _ literalType As ILiteralType _ ) As SqlUpdateBuilder |
C# |
---|
public SqlUpdateBuilder AddColumn( string columnName, Object val, ILiteralType literalType ) |
Visual C++ |
---|
public: SqlUpdateBuilder^ AddColumn( String^ columnName, Object^ val, ILiteralType^ literalType ) |
JavaScript |
---|
function addColumn(columnName, val, 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.