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