InvalidReceiptDAL.cs 534 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.DataLogic.Repositories;
  6. using EMIS.Entities;
  7. namespace EMIS.DataLogic.FeeManage
  8. {
  9. public class InvalidReceiptDAL
  10. {
  11. public InvalidReceiptRepository InvalidReceiptRepository { get; set; }
  12. public IQueryable<string> GetInvalidReceipt()
  13. {
  14. var sql = (from invalid in InvalidReceiptRepository.Entities
  15. select invalid.ReceiptNo);
  16. return sql;
  17. }
  18. }
  19. }