Exemplo n.º 1
0
        private void FildWorkers(bool?active)
        {
            this.workers.Clear();

            var rgd = new RDGs.RDGtblWorkers(this.session.ConnectionString);

            foreach (var item in rgd.Get(active))
            {
                this.workers.Add(item);
            }
        }
Exemplo n.º 2
0
        public List <string> ListOfWorkers()
        {
            List <string> list = new List <string>();
            var           rgd  = new RDGs.RDGtblWorkers(this.session.ConnectionString);

            foreach (var item in rgd.Get(true))
            {
                list.Add("#" + item.WorkNo.ToString() + " - " + item.Name + " " + item.Surname);
            }

            return(list);
        }