public object Clone() { DbSourceParameterCollection parameters = new DbSourceParameterCollection(null); foreach (DesignParameter parameter in this) { DesignParameter parameter2 = (DesignParameter) parameter.Clone(); ((IList) parameters).Add(parameter2); } return parameters; }
public object Clone() { DbSourceParameterCollection parameters = new DbSourceParameterCollection(null); foreach (DesignParameter parameter in this) { DesignParameter parameter2 = (DesignParameter)parameter.Clone(); ((IList)parameters).Add(parameter2); } return(parameters); }
public DbSourceCommand() { this.commandText = string.Empty; this.commandType = System.Data.CommandType.Text; this.parameterCollection = new DbSourceParameterCollection(this); }