protected override void TerminateBatching()
 {
     if (this._commandSet != null)
     {
         this._commandSet.Dispose();
         this._commandSet = null;
     }
 }
        protected override void InitializeBatching()
        {
            this._commandSet = new OracleCommandSet();
            OracleCommand selectCommand = this.SelectCommand;

            if (selectCommand == null)
            {
                selectCommand = this.InsertCommand;
                if (selectCommand == null)
                {
                    selectCommand = this.UpdateCommand;
                    if (selectCommand == null)
                    {
                        selectCommand = this.DeleteCommand;
                    }
                }
            }
            if (selectCommand != null)
            {
                this._commandSet.Connection     = selectCommand.Connection;
                this._commandSet.Transaction    = selectCommand.Transaction;
                this._commandSet.CommandTimeout = selectCommand.CommandTimeout;
            }
        }
 internal LocalCommand(string commandText, bool isQuery, DbParameter[] parameters, string[] parameterNames, OracleCommandSet.LocalParameter[] parameterInsertionPoints)
 {
     this.CommandText = commandText;
     this.IsQuery = isQuery;
     this.Parameters = parameters;
     this.ParameterNames = parameterNames;
     this.ParameterInsertionPoints = parameterInsertionPoints;
 }
 protected override void TerminateBatching()
 {
     if (this._commandSet != null)
     {
         this._commandSet.Dispose();
         this._commandSet = null;
     }
 }
 protected override void InitializeBatching()
 {
     this._commandSet = new OracleCommandSet();
     OracleCommand selectCommand = this.SelectCommand;
     if (selectCommand == null)
     {
         selectCommand = this.InsertCommand;
         if (selectCommand == null)
         {
             selectCommand = this.UpdateCommand;
             if (selectCommand == null)
             {
                 selectCommand = this.DeleteCommand;
             }
         }
     }
     if (selectCommand != null)
     {
         this._commandSet.Connection = selectCommand.Connection;
         this._commandSet.Transaction = selectCommand.Transaction;
         this._commandSet.CommandTimeout = selectCommand.CommandTimeout;
     }
 }