Example #1
0
        public int Exists(string ItemID)
        {
            int    num  = 0;
            object obj2 = SamTemplateItem.Exists(ItemID);

            if (obj2 != null)
            {
                num = int.Parse(obj2.ToString());
            }
            return(num);
        }
Example #2
0
 public int Update(SamTemplateItemModel model)
 {
     return(SamTemplateItem.Update(model));
 }
Example #3
0
        public List <SamTemplateItemModel> GetModelList(string strWhere)
        {
            DataTable list = SamTemplateItem.GetList(strWhere);

            return(this.DataTableToList(list));
        }
Example #4
0
 public SamTemplateItemModel GetModel(string ItemID)
 {
     return(SamTemplateItem.GetModel(ItemID));
 }
Example #5
0
 public DataTable GetList(int Top, string strWhere, string filedOrder)
 {
     return(SamTemplateItem.GetList(Top, strWhere, filedOrder));
 }
Example #6
0
 public DataTable GetList(string strWhere)
 {
     return(SamTemplateItem.GetList(strWhere));
 }
Example #7
0
 public int Delete(List <string> lstStorageCode)
 {
     return(SamTemplateItem.Delete(lstStorageCode));
 }
Example #8
0
 public int Delete(string ItemID)
 {
     return(SamTemplateItem.Delete(ItemID));
 }
Example #9
0
 public int Add(SamTemplateItemModel model)
 {
     return(SamTemplateItem.Add(model));
 }