SqlBuilder<(Of <(<'TDbType>)>)>..::..BuildSelectByKeyStatement Method
Builds a complete select statement using the keys as a filter. This is mostly used in conjunction with an UPDATE or DELETE operation.
Namespace:
Tortuga.Chain.CommandBuildersAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public void BuildSelectByKeyStatement( StringBuilder sql, string tableName, string footer )
Public Sub BuildSelectByKeyStatement ( _ sql As StringBuilder, _ tableName As String, _ footer As String _ )
public: void BuildSelectByKeyStatement( StringBuilder^ sql, String^ tableName, String^ footer )
Parameters
- sql
- Type: StringBuilder
The SQL.
- tableName
- Type: String
Name of the table.
- footer
- Type: String
Optional footer, usually the statement terminator (;).