SqlBuilder<(Of <(<'TDbType>)>)>..::..BuildValuesClause Method (StringBuilder, String, String, Boolean)
Builds a list of columns suitable for using in the VALUES clause of INSERT statement. This does not include the actual VALUES keyword.
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 BuildValuesClause( StringBuilder sql, string header, string footer, bool includeIdentityColumn )
Public Sub BuildValuesClause ( _ sql As StringBuilder, _ header As String, _ footer As String, _ includeIdentityColumn As Boolean _ )
public: void BuildValuesClause( StringBuilder^ sql, String^ header, String^ footer, bool^ includeIdentityColumn )
Parameters
- sql
- Type: StringBuilder
The SQL being generated.
- header
- Type: String
The optional header. Usually "VALUES (".
- footer
- Type: String
The optional footer. Usually just ")".
- includeIdentityColumn
- Type: Boolean
Include the identity column. Used when performing an identity insert operation.