Example #1
0
        public bool ExistPartList(string sDescription)
        {
            var chocorroles = new PartList();
            var swap        = chocorroles.getAll();
            var qbo         = (from s in swap where s.iNumber.Equals(sDescription) select s).Count();

            return(qbo >= 1);
        }
Example #2
0
        public List <PartListCompositeType> getAllPartList()
        {
            var r = new PartList();

            return(r.getAll());
        }