collect_rewardTableRepo.cs 696 B

1234567891011121314151617181920212223242526
  1. // Generate By EToy
  2. // Don't Edit It!!
  3. using System.Collections.Generic;
  4. using XGame.Framework.Database;
  5. namespace XGame.Database
  6. {
  7. public partial class collect_rewardTableRepo
  8. : TableRepository<collect_rewardTable, collect_rewardTableRepo>
  9. {
  10. public static List<collect_rewardTable> GetCollectRwdList(int collectId)
  11. {
  12. var all = GetAll();
  13. var list = new List<collect_rewardTable>();
  14. foreach (var rwd in all)
  15. {
  16. if (rwd.CollectId == collectId)
  17. {
  18. list.Add(rwd);
  19. }
  20. }
  21. return list;
  22. }
  23. }
  24. }