Class CustomCommandBuilder
Inheritance
System.Object
CustomCommandBuilder
Namespace: DBaddin
Assembly: DBaddin.dll
Syntax
public class CustomCommandBuilder
Constructors
| Improve this Doc View SourceCustomCommandBuilder(DataTable, DataColumn[])
Declaration
public CustomCommandBuilder(DataTable dataTable, DataColumn[] allColumns)
Parameters
Name | Description |
---|---|
dataTable | |
allColumns |
Fields
| Improve this Doc View SourceallColumns
Declaration
protected readonly DataColumn[] allColumns
Field Value
Description |
---|
dataTable
Declaration
protected readonly DataTable dataTable
Field Value
Description |
---|
Methods
| Improve this Doc View SourceDeleteCommand()
Creates Delete command
Declaration
public virtual DbCommand DeleteCommand()
Returns
Description |
---|
Command for deleting |
InsertCommand()
Creates Insert command with support for Auto-increment (Identity) fields
Declaration
public virtual DbCommand InsertCommand()
Returns
Description |
---|
Command for inserting |
TableName()
Declaration
protected string TableName()
Returns
Description |
---|
UpdateCommand()
Creates Update command
Declaration
public virtual DbCommand UpdateCommand()
Returns
Description |
---|
Command for updating |