CustomOleDbCommandBuilder Class

Custom Command builder for OleDB 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 CustomOleDbCommandBuilder : CustomCommandBuilder

The CustomOleDbCommandBuilder type exposes the following members.

Constructors

ClassSummary
public constructorCustomOleDbCommandBuilder(DataTable, OleDbConnection, 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