Batch command builder that can produce several SQL statements into one IDbCommand.
Inheritance Hierarchy
NReco.Data DbCommandBuilder
NReco.Data DbBatchCommandBuilder
Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax
The DbBatchCommandBuilder type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DbBatchCommandBuilder | Initializes a new instance of the DbBatchCommandBuilder class |
Methods
| Name | Description | |
|---|---|---|
| BeginBatch | ||
| EndBatch | ||
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetCommand | (Overrides DbCommandBuilder GetCommand .) | |
| GetDeleteCommand |
Gets the automatically generated IDbCommand object to delete rows by specified Query.
(Inherited from DbCommandBuilder.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetInsertCommand |
Gets the automatically generated IDbCommand object to insert new record.
(Inherited from DbCommandBuilder.) | |
| GetSelectCommand |
Gets the automatically generated IDbCommand object to select rows by specified Query.
(Inherited from DbCommandBuilder.) | |
| GetSqlBuilder | (Inherited from DbCommandBuilder.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUpdateCommand |
Gets the automatically generated IDbCommand object to update rows by specified Query.
(Inherited from DbCommandBuilder.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetCommandText | (Overrides DbCommandBuilder SetCommandText(IDbCommand, String).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| CurrentBatchCommand |
Gets current IDbCommand with batch of SQL statements.
| |
| DbFactory |
Gets DB Factory component.
(Inherited from DbCommandBuilder.) | |
| DeleteTemplate |
Gets or sets template for SQL DELETE query.
(Inherited from DbCommandBuilder.) | |
| InsertTemplate |
Gets or sets template for SQL INSERT query.
(Inherited from DbCommandBuilder.) | |
| SelectTemplate |
Gets or sets template for SQL SELECT query.
(Inherited from DbCommandBuilder.) | |
| SqlStatementSeparator |
Gets or sets separator between SQL statements (';' by default).
| |
| UpdateTemplate |
Gets or sets template for SQL UPDATE query.
(Inherited from DbCommandBuilder.) | |
| Views |
Gets or sets view name -> DbDataView dictionary.
(Inherited from DbCommandBuilder.) |
See Also