Пример #1
0
 public string CREATEQuery(Hashtable pHT)
 {
     if (pHT == null)
     {
         throw new ArgumentNullException("HashTable pHT contains no value.");
     }
     else if (pHT.Count < 0)
     {
         throw new ArgumentNullException("HashTable pHT contains 0 elements.");
     }
     return(CRUDHelper.BuildCREATEQuery(pHT, null).ToString());
 }
Пример #2
0
        public string CREATEQuery(object pModel)
        {
            Hashtable vHT = CRUDHelper.GetColumnValueCol(pModel);

            return(CRUDHelper.BuildCREATEQuery(vHT, null).ToString());
        }
Пример #3
0
        public string CREATEQuery(object pModel, ArrayList pExcludeList)
        {
            Hashtable vHT = CRUDHelper.GetColumnValueCol(pModel);

            return(CRUDHelper.BuildCREATEQuery(vHT, pExcludeList).ToString());
        }