public int Exists(string ItemID) { int num = 0; object obj2 = SamTemplateItem.Exists(ItemID); if (obj2 != null) { num = int.Parse(obj2.ToString()); } return(num); }
public int Update(SamTemplateItemModel model) { return(SamTemplateItem.Update(model)); }
public List <SamTemplateItemModel> GetModelList(string strWhere) { DataTable list = SamTemplateItem.GetList(strWhere); return(this.DataTableToList(list)); }
public SamTemplateItemModel GetModel(string ItemID) { return(SamTemplateItem.GetModel(ItemID)); }
public DataTable GetList(int Top, string strWhere, string filedOrder) { return(SamTemplateItem.GetList(Top, strWhere, filedOrder)); }
public DataTable GetList(string strWhere) { return(SamTemplateItem.GetList(strWhere)); }
public int Delete(List <string> lstStorageCode) { return(SamTemplateItem.Delete(lstStorageCode)); }
public int Delete(string ItemID) { return(SamTemplateItem.Delete(ItemID)); }
public int Add(SamTemplateItemModel model) { return(SamTemplateItem.Add(model)); }