Exemplo n.º 1
0
        public List <EmpComboResult> GetEmp(EmpCriteria criteria)
        {
            using (CommonEntities Context = new CommonEntities())
            {
                var result = Context.GetEmpCombo(
                    prodDateFrom: criteria.ProdDateFrom
                    , prodDateTo: criteria.ProdDateTo
                    , empCode: criteria.EmpCode
                    , isActiveOnly: criteria.IsActiveOnly
                    ).ToList();

                return(result);
            }
        }