コード例 #1
0
        public List <StationeryRetrieval> GetListSRWithSRStatus(SRStatus sRStatus)
        {
            List <StationeryRetrieval> srList = db.StationeryRetrievals.OrderBy(x => x.SRDate)
                                                .Where(x => x.SRStatus == sRStatus)
                                                .ToList();

            return(srList);
        }
コード例 #2
0
 public int TotalSRNos(Employee emp, SRStatus sRStatus)
 {
     return(db.StationeryRetrievals
            .Where(x => x.SRStatus == sRStatus)
            .Count());
 }