2 implementations of IDbCommand
System.Data.Common (1)
System\Data\Common\DbCommand.cs (1)
11
public abstract class DbCommand : Component,
IDbCommand
, IAsyncDisposable
System.Data.OleDb (1)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (1)
11
public sealed partial class OleDbCommand : System.Data.Common.DbCommand, System.Data.
IDbCommand
, System.ICloneable, System.IDisposable
78 references to IDbCommand
netstandard (1)
netstandard.cs (1)
540
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.
IDbCommand
))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
106
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.
IDbCommand
))]
System.Data.Common (53)
System\Data\Common\DbCommand.cs (6)
37
IDbConnection?
IDbCommand
.Connection
63
IDataParameterCollection
IDbCommand
.Parameters => DbParameterCollection;
74
IDbTransaction?
IDbCommand
.Transaction
103
IDbDataParameter
IDbCommand
.CreateParameter() => CreateDbParameter();
113
IDataReader
IDbCommand
.ExecuteReader() => ExecuteDbDataReader(CommandBehavior.Default);
117
IDataReader
IDbCommand
.ExecuteReader(CommandBehavior behavior) => ExecuteDbDataReader(behavior);
System\Data\Common\DbConnection.cs (1)
139
IDbCommand
IDbConnection.CreateCommand() => CreateDbCommand();
System\Data\Common\DbDataAdapter.cs (34)
19
private
IDbCommand
? _deleteCommand, _insertCommand, _selectCommand, _updateCommand;
67
IDbCommand
? IDbDataAdapter.DeleteCommand
107
IDbCommand
? IDbDataAdapter.InsertCommand
135
IDbCommand
? IDbDataAdapter.SelectCommand
179
IDbCommand
? IDbDataAdapter.UpdateCommand
216
protected virtual int AddToBatch(
IDbCommand
command)
252
private static
IDbCommand
? CloneCommand(
IDbCommand
? command)
254
return (
IDbCommand
?)((command is ICloneable) ? ((ICloneable)command).Clone() : null);
257
protected virtual RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow,
IDbCommand
? command, StatementType statementType, DataTableMapping tableMapping)
262
protected virtual RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow,
IDbCommand
? command, StatementType statementType, DataTableMapping tableMapping)
297
IDbCommand
? selectCmd = _IDbDataAdapter.SelectCommand;
313
IDbCommand
? command = _IDbDataAdapter.SelectCommand;
333
IDbCommand
? selectCmd = _IDbDataAdapter.SelectCommand;
344
protected virtual DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType,
IDbCommand
command, string srcTable, CommandBehavior behavior)
375
protected virtual DataTable? FillSchema(DataTable dataTable, SchemaType schemaType,
IDbCommand
command, CommandBehavior behavior)
407
private object? FillSchemaInternal(DataSet? dataset, DataTable? datatable, SchemaType schemaType,
IDbCommand
command, string srcTable, CommandBehavior behavior)
453
IDbCommand
? selectCmd = _IDbDataAdapter.SelectCommand;
469
IDbCommand
? selectCmd = _IDbDataAdapter.SelectCommand;
485
IDbCommand
? selectCmd = _IDbDataAdapter.SelectCommand;
495
protected virtual int Fill(DataSet dataSet, int startRecord, int maxRecords, string srcTable,
IDbCommand
command, CommandBehavior behavior)
535
IDbCommand
? selectCmd = _IDbDataAdapter.SelectCommand;
551
IDbCommand
? selectCmd = _IDbDataAdapter.SelectCommand;
561
protected virtual int Fill(DataTable dataTable,
IDbCommand
command, CommandBehavior behavior)
576
protected virtual int Fill(DataTable[] dataTables, int startRecord, int maxRecords,
IDbCommand
command, CommandBehavior behavior)
613
private int FillInternal(DataSet? dataset, DataTable[]? datatables, int startRecord, int maxRecords, string? srcTable,
IDbCommand
command, CommandBehavior behavior)
697
IDbCommand
? select = _IDbDataAdapter.SelectCommand;
976
IDbCommand
? tmpcmd = _IDbDataAdapter.SelectCommand;
1008
IDbCommand
? dataCommand = null;
1067
IDbCommand
? tmpCommand = rowUpdatingEvent.Command;
1495
private void UpdateRowExecute(RowUpdatedEventArgs rowUpdatedEvent,
IDbCommand
dataCommand, StatementType cmdIndex)
1744
IDbCommand
? command = adapter._IDbDataAdapter.SelectCommand;
1769
private static IDbConnection GetConnection3(
IDbCommand
command, string method)
1781
private static IDbConnection GetConnection4(
IDbCommand
command, StatementType statementType, bool isCommandFromRowUpdating)
System\Data\Common\RowUpdatedEventArgs.cs (3)
12
private readonly
IDbCommand
? _command;
23
public RowUpdatedEventArgs(DataRow dataRow,
IDbCommand
? command, StatementType statementType, DataTableMapping tableMapping)
42
public
IDbCommand
? Command
System\Data\Common\RowUpdatingEventArgs.cs (4)
8
private
IDbCommand
? _command;
16
public RowUpdatingEventArgs(DataRow dataRow,
IDbCommand
? command, StatementType statementType, DataTableMapping tableMapping)
38
protected virtual
IDbCommand
? BaseCommand
44
public
IDbCommand
? Command
System\Data\IDbConnection.cs (1)
19
IDbCommand
CreateCommand();
System\Data\IDbDataAdapter.cs (4)
8
IDbCommand
? SelectCommand { get; set; }
9
IDbCommand
? InsertCommand { get; set; }
10
IDbCommand
? UpdateCommand { get; set; }
11
IDbCommand
? DeleteCommand { get; set; }
System.Data.Odbc (10)
Common\System\Data\Common\AdapterUtil.Odbc.cs (1)
300
internal static Exception DeriveParametersNotSupported(
IDbCommand
value)
System\Data\Odbc\OdbcDataAdapter.cs (6)
52
IDbCommand
? IDbDataAdapter.DeleteCommand
66
IDbCommand
? IDbDataAdapter.InsertCommand
80
IDbCommand
? IDbDataAdapter.SelectCommand
94
IDbCommand
? IDbDataAdapter.UpdateCommand
143
protected override RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow,
IDbCommand
? command, StatementType statementType, DataTableMapping tableMapping)
148
protected override RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow,
IDbCommand
? command, StatementType statementType, DataTableMapping tableMapping)
System\Data\Odbc\OdbcRowUpdatingEvent.cs (3)
22
public OdbcRowUpdatingEventArgs(DataRow row,
IDbCommand
? command, StatementType statementType, DataTableMapping tableMapping)
36
protected override
IDbCommand
? BaseCommand
49
public OdbcRowUpdatedEventArgs(DataRow row,
IDbCommand
? command, StatementType statementType, DataTableMapping tableMapping)
System.Data.OleDb (13)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (13)
56
System.Data.IDataReader System.Data.
IDbCommand
.ExecuteReader() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); }
57
System.Data.IDataReader System.Data.
IDbCommand
.ExecuteReader(System.Data.CommandBehavior behavior) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); }
169
System.Data.
IDbCommand
? System.Data.IDbDataAdapter.DeleteCommand { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } }
170
System.Data.
IDbCommand
? System.Data.IDbDataAdapter.InsertCommand { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } }
171
System.Data.
IDbCommand
? System.Data.IDbDataAdapter.SelectCommand { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } }
172
System.Data.
IDbCommand
? System.Data.IDbDataAdapter.UpdateCommand { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } }
178
protected override System.Data.Common.RowUpdatedEventArgs CreateRowUpdatedEvent(System.Data.DataRow dataRow, System.Data.
IDbCommand
? command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); }
179
protected override System.Data.Common.RowUpdatingEventArgs CreateRowUpdatingEvent(System.Data.DataRow dataRow, System.Data.
IDbCommand
? command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); }
428
public OleDbRowUpdatedEventArgs(System.Data.DataRow dataRow, System.Data.
IDbCommand
? command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) : base (default(System.Data.DataRow), default(System.Data.
IDbCommand
), default(System.Data.StatementType), default(System.Data.Common.DataTableMapping)) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); }
434
public OleDbRowUpdatingEventArgs(System.Data.DataRow dataRow, System.Data.
IDbCommand
? command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) : base (default(System.Data.DataRow), default(System.Data.
IDbCommand
), default(System.Data.StatementType), default(System.Data.Common.DataTableMapping)) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); }
435
protected override System.Data.
IDbCommand
? BaseCommand { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } }