示例#1
0
        public List <Employee> GetAllEmployees()
        {
            DALC.DALC oDALC = new DALC.DALC();
            oDALC.connStr = this.connStr;
            List <Employee> oList = oDALC.GetAllEmployees();

            oList.RemoveAll(x => x.SALARY < 2000);
            oList.RemoveAll(x => x.AGE < 20 || x.AGE > 40);
            return(oList);
        }