CustomOdbcCommandBuilder Class

Custom Command builder for ODBC to avoid primary key problems with built-in ones derived (transposed into VB.NET) from https://www.cogin.com/articles/CustomCommandBuilder.php Copyright by Dejan_Grujic 2004. http://www.cogin.com

Inheritance Hierarchy

Namespace: DBaddinAssembly: DBaddin in (DBaddin.dll)

Syntax

public class CustomOdbcCommandBuilder : CustomCommandBuilder

The CustomOdbcCommandBuilder type exposes the following members.

Constructors

ClassSummary
public constructorCustomOdbcCommandBuilder(DataTable, OdbcConnection, DataColumn[], Collection, String, String)

Methods

NameSummary
private methodAutoincrementKeyColumns()
private methodCreateOldParam(DataColumn)
private methodCreateParam(DataColumn)
public methodDeleteCommand()
Creates Delete command
private methodGetTextCommand(String)
public methodInsertCommand()
Creates Insert command with support for Auto-increment (Identity) fields
public methodUpdateCommand()
Creates Update command

Fields

NameDescription
private fieldconnection
private fieldschemaDataTypeCollection