Exemplo n.º 1
0
 public void Add(SQLParamItem paramItem)
 {
     if (paramItem != null)
     {
         base.List.Add(paramItem);
     }
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 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);
     }
 }