SqlBuilder<(Of <(<'TDbType>)>)>..::..BuildInsertClause Method
Builds a list of columns suitable for using in an INSERT statement.
This will mark key columns for use in parameter building.
Namespace:
Tortuga.Chain.CommandBuildersAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public void BuildInsertClause( StringBuilder sql, Nullable<string> header, Nullable<string> prefix, Nullable<string> footer, bool includeIdentityColumn )
Parameters
- sql
- Type: StringBuilder
The SQL being generated.
- includeIdentityColumn
- Type: Boolean
Include the identity column. Used when performing an identity insert operation.