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