2 implementations of IDbCommand
System.Data (2)
fx\src\data\System\Data\Common\DBCommand.cs (1)
17
public abstract class DbCommand : Component,
IDbCommand
{ // V1.2.3300
fx\src\data\System\Data\OleDb\OleDbCommand.cs (1)
30
public sealed class OleDbCommand : DbCommand, ICloneable,
IDbCommand
{
88 references to IDbCommand
System.Data (87)
fx\src\data\System\Data\Common\AdapterUtil.cs (4)
1372
static internal Exception DeriveParametersNotSupported(
IDbCommand
value) {
1378
static internal Exception PrepareParameterType(
IDbCommand
cmd) {
1381
static internal Exception PrepareParameterSize(
IDbCommand
cmd) {
1384
static internal Exception PrepareParameterScale(
IDbCommand
cmd, string type) {
fx\src\data\System\Data\Common\DBCommand.cs (6)
68
IDbConnection
IDbCommand
.Connection {
118
IDataParameterCollection
IDbCommand
.Parameters {
139
IDbTransaction
IDbCommand
.Transaction {
178
IDbDataParameter
IDbCommand
.CreateParameter() { // V1.2.3300
192
IDataReader
IDbCommand
.ExecuteReader() {
200
IDataReader
IDbCommand
.ExecuteReader(CommandBehavior behavior) {
fx\src\data\System\Data\Common\DBConnection.cs (1)
134
IDbCommand
IDbConnection.CreateCommand() {
fx\src\data\System\Data\Common\DbDataAdapter.cs (34)
27
private
IDbCommand
_deleteCommand, _insertCommand, _selectCommand, _updateCommand;
67
IDbCommand
IDbDataAdapter.DeleteCommand { // V1.2.3300
104
IDbCommand
IDbDataAdapter.InsertCommand { // V1.2.3300
126
IDbCommand
IDbDataAdapter.SelectCommand { // V1.2.3300
164
IDbCommand
IDbDataAdapter.UpdateCommand { // V1.2.3300
192
protected virtual int AddToBatch(
IDbCommand
command) {
224
private
IDbCommand
CloneCommand(
IDbCommand
command) {
225
return (
IDbCommand
) ((command is ICloneable) ? ((ICloneable) command).Clone() : null);
228
virtual protected RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping) { // V1.0.3300
232
virtual protected RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping) { // V1.0.3300
260
IDbCommand
selectCmd = _IDbDataAdapter.SelectCommand;
273
IDbCommand
command = _IDbDataAdapter.SelectCommand;
289
IDbCommand
selectCmd = _IDbDataAdapter.SelectCommand;
298
virtual protected DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType,
IDbCommand
command, string srcTable, CommandBehavior behavior) { // V1.0.3300
320
virtual protected DataTable FillSchema(DataTable dataTable, SchemaType schemaType,
IDbCommand
command, CommandBehavior behavior) { // V1.0.3300
344
private object FillSchemaInternal(DataSet dataset, DataTable datatable, SchemaType schemaType,
IDbCommand
command, string srcTable, CommandBehavior behavior) {
380
IDbCommand
selectCmd = _IDbDataAdapter.SelectCommand;
394
IDbCommand
selectCmd = _IDbDataAdapter.SelectCommand;
408
IDbCommand
selectCmd = _IDbDataAdapter.SelectCommand;
417
virtual protected int Fill(DataSet dataSet, int startRecord, int maxRecords, string srcTable,
IDbCommand
command, CommandBehavior behavior) { // V1.0.3300
449
IDbCommand
selectCmd = _IDbDataAdapter.SelectCommand;
463
IDbCommand
selectCmd = _IDbDataAdapter.SelectCommand;
472
virtual protected int Fill(DataTable dataTable,
IDbCommand
command, CommandBehavior behavior) { // V1.0.3300
485
virtual protected int Fill(DataTable[] dataTables, int startRecord, int maxRecords,
IDbCommand
command, CommandBehavior behavior) { // V1.2.3300
514
private int FillInternal(DataSet dataset, DataTable[] datatables, int startRecord, int maxRecords, string srcTable,
IDbCommand
command, CommandBehavior behavior) {
586
IDbCommand
select = _IDbDataAdapter.SelectCommand;
818
IDbCommand
tmpcmd = _IDbDataAdapter.SelectCommand;
844
IDbCommand
dataCommand = null;
900
IDbCommand
tmpCommand = rowUpdatingEvent.Command;
1266
private void UpdateRowExecute(RowUpdatedEventArgs rowUpdatedEvent,
IDbCommand
dataCommand, StatementType cmdIndex) {
1475
IDbCommand
command = adapter._IDbDataAdapter.SelectCommand;
1495
static private IDbConnection GetConnection3(DbDataAdapter adapter,
IDbCommand
command, string method) {
1505
static private IDbConnection GetConnection4(DbDataAdapter adapter,
IDbCommand
command, StatementType statementType, bool isCommandFromRowUpdating) {
fx\src\data\System\Data\Common\RowUpdatedEventArgs.cs (3)
21
private
IDbCommand
_command;
32
public RowUpdatedEventArgs(DataRow dataRow,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping) {
49
public
IDbCommand
Command {
fx\src\data\System\Data\Common\RowUpdatingEventArgs.cs (4)
19
private
IDbCommand
_command;
27
public RowUpdatingEventArgs(DataRow dataRow,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping) {
48
virtual protected
IDbCommand
BaseCommand {
57
public
IDbCommand
Command {
fx\src\data\System\Data\IDbConnection.cs (1)
39
IDbCommand
CreateCommand();
fx\src\data\System\Data\IDbDataAdapter.cs (4)
13
IDbCommand
SelectCommand {
18
IDbCommand
InsertCommand {
23
IDbCommand
UpdateCommand {
28
IDbCommand
DeleteCommand {
fx\src\data\System\Data\Odbc\OdbcDataAdapter.cs (6)
61
IDbCommand
IDbDataAdapter.DeleteCommand {
77
IDbCommand
IDbDataAdapter.InsertCommand {
93
IDbCommand
IDbDataAdapter.SelectCommand {
109
IDbCommand
IDbDataAdapter.UpdateCommand {
153
override protected RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping) {
157
override protected RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping) {
fx\src\data\System\Data\Odbc\OdbcRowUpdatingEvent.cs (3)
30
public OdbcRowUpdatingEventArgs(DataRow row,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping)
41
override protected
IDbCommand
BaseCommand {
53
public OdbcRowUpdatedEventArgs(DataRow row,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping)
fx\src\data\System\Data\OleDb\OleDbCommand.cs (2)
557
IDataReader
IDbCommand
.ExecuteReader() {
575
IDataReader
IDbCommand
.ExecuteReader(CommandBehavior behavior) {
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (6)
64
IDbCommand
IDbDataAdapter.DeleteCommand {
80
IDbCommand
IDbDataAdapter.InsertCommand {
96
IDbCommand
IDbDataAdapter.SelectCommand {
112
IDbCommand
IDbDataAdapter.UpdateCommand {
152
override protected RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping) {
156
override protected RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping) {
fx\src\data\System\Data\OleDb\OleDbRowUpdatedEvent.cs (1)
17
public OleDbRowUpdatedEventArgs(DataRow dataRow,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping)
fx\src\data\System\Data\OleDb\OleDbRowUpdatingEvent.cs (2)
17
public OleDbRowUpdatingEventArgs(DataRow dataRow,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping)
27
override protected
IDbCommand
BaseCommand {
fx\src\data\System\Data\SqlClient\SqlDataAdapter.cs (7)
64
IDbCommand
IDbDataAdapter.DeleteCommand {
80
IDbCommand
IDbDataAdapter.InsertCommand {
96
IDbCommand
IDbDataAdapter.SelectCommand {
126
IDbCommand
IDbDataAdapter.UpdateCommand {
168
override protected int AddToBatch(
IDbCommand
command) {
182
override protected RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping) {
186
override protected RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping) {
fx\src\data\System\Data\SqlClient\SqlRowUpdatedEvent.cs (1)
18
public SqlRowUpdatedEventArgs(DataRow row,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping)
fx\src\data\System\Data\SqlClient\SqlRowUpdatingEvent.cs (2)
16
public SqlRowUpdatingEventArgs(DataRow row,
IDbCommand
command, StatementType statementType, DataTableMapping tableMapping)
25
override protected
IDbCommand
BaseCommand {
System.Data.Linq (1)
SqlClient\SqlProvider.cs (1)
795
IDbCommand
cmd = this.conManager.Connection.CreateCommand();