public object Clone()
        {
            NuoDbMultipleCommands command = new NuoDbMultipleCommands();

            command.CommandText      = this.CommandText;
            command.Connection       = this.Connection;
            command.CommandType      = this.CommandType;
            command.CommandTimeout   = this.CommandTimeout;
            command.UpdatedRowSource = this.UpdatedRowSource;

            if (this.ExpectedColumnTypes != null)
            {
                command.ExpectedColumnTypes = (Type[])this.ExpectedColumnTypes.Clone();
            }

            foreach (DbParameter p in this.Parameters)
            {
                command.Parameters.Add(((ICloneable)p).Clone());
            }

            return(command);
        }
        public object Clone()
        {
            NuoDbMultipleCommands command = new NuoDbMultipleCommands();

            command.CommandText = this.CommandText;
            command.Connection = this.Connection;
            command.CommandType = this.CommandType;
            command.CommandTimeout = this.CommandTimeout;
            command.UpdatedRowSource = this.UpdatedRowSource;

            if (this.ExpectedColumnTypes != null)
                command.ExpectedColumnTypes = (Type[])this.ExpectedColumnTypes.Clone();

            foreach (DbParameter p in this.Parameters)
            {
                command.Parameters.Add(((ICloneable)p).Clone());
            }

            return command;
        }