Class CustomOdbcCommandBuilder
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
Inherited Members
Namespace: DBaddin
Assembly: DBaddin.dll
Syntax
public class CustomOdbcCommandBuilder : CustomCommandBuilder
Constructors
| Improve this Doc View SourceCustomOdbcCommandBuilder(DataTable, OdbcConnection, DataColumn[], Collection)
Declaration
public CustomOdbcCommandBuilder(DataTable dataTable, OdbcConnection connection, DataColumn[] allColumns, Collection schemaDataTypeCollection)
Parameters
Name | Description |
---|---|
dataTable | |
connection | |
allColumns | |
schemaDataTypeCollection |
Methods
| Improve this Doc View SourceDeleteCommand()
Creates Delete command
Declaration
public override DbCommand DeleteCommand()
Returns
Description |
---|
OdbcCommand for deleting |
Overrides
| Improve this Doc View SourceInsertCommand()
Creates Insert command with support for Auto-increment (Identity) fields
Declaration
public override DbCommand InsertCommand()
Returns
Description |
---|
OdbcCommand for inserting |
Overrides
| Improve this Doc View SourceUpdateCommand()
Creates Update command
Declaration
public override DbCommand UpdateCommand()
Returns
Description |
---|
OdbcCommand for updating |