public void Add(SQLParamItem paramItem) { if (paramItem != null) { base.List.Add(paramItem); } }
public object Clone() { SQLParamCollections collections = new SQLParamCollections(); foreach (SQLParamItem item in this) { SQLParamItem copyItem = new SQLParamItem(); copyItem.ParamName = item.ParamName; copyItem.ParamType = item.ParamType; collections.Add(copyItem); } return(collections); }
public SQLParamItem this[string paramFullName] { get { for (int i = 0; i < base.Count; i++) { SQLParamItem item = (SQLParamItem)base.List[i]; if (item.ParamName == paramFullName) { return(item); } } return(null); } }