Exemple #1
0
        private MonadCommand(MonadCommand from)
        {
            this.commandText    = from.commandText;
            this.commandType    = from.commandType;
            this.commandTimeout = from.commandTimeout;
            this.connection     = from.connection;
            MonadParameterCollection parameters = this.Parameters;

            foreach (object obj in from.Parameters)
            {
                ICloneable cloneable = (ICloneable)obj;
                parameters.Add(cloneable.Clone());
            }
            this.ErrorReport    += from.ErrorReport;
            this.WarningReport  += from.WarningReport;
            this.StartExecution += from.StartExecution;
            this.EndExecution   += from.EndExecution;
        }
Exemple #2
0
 // Token: 0x060010FE RID: 4350 RVA: 0x00034043 File Offset: 0x00032243
 public override int IndexOf(string parameterName)
 {
     return(MonadParameterCollection.IndexOf(this.InnerList, parameterName));
 }