Show / Hide Table of Contents

Class CustomCommandBuilder

Inheritance
System.Object
CustomCommandBuilder
CustomOdbcCommandBuilder
CustomOleDbCommandBuilder
CustomSqlCommandBuilder
Namespace: DBaddin
Assembly: DBaddin.dll
Syntax
public class CustomCommandBuilder

Constructors

| Improve this Doc View Source

CustomCommandBuilder(DataTable, DataColumn[])

Declaration
public CustomCommandBuilder(DataTable dataTable, DataColumn[] allColumns)
Parameters
Name Description
dataTable
allColumns

Fields

| Improve this Doc View Source

allColumns

Declaration
protected readonly DataColumn[] allColumns
Field Value
Description
| Improve this Doc View Source

dataTable

Declaration
protected readonly DataTable dataTable
Field Value
Description

Methods

| Improve this Doc View Source

DeleteCommand()

Creates Delete command

Declaration
public virtual DbCommand DeleteCommand()
Returns
Description

Command for deleting

| Improve this Doc View Source

InsertCommand()

Creates Insert command with support for Auto-increment (Identity) fields

Declaration
public virtual DbCommand InsertCommand()
Returns
Description

Command for inserting

| Improve this Doc View Source

TableName()

Declaration
protected string TableName()
Returns
Description
| Improve this Doc View Source

UpdateCommand()

Creates Update command

Declaration
public virtual DbCommand UpdateCommand()
Returns
Description

Command for updating

  • Improve this Doc
  • View Source
Back to top Generated by DocFX