// Generate By EToy // Don't Edit It!! using System.Collections.Generic; using XGame.Framework.Database; namespace XGame.Database { public partial class collect_rewardTableRepo : TableRepository { public static List GetCollectRwdList(int collectId) { var all = GetAll(); var list = new List(); foreach (var rwd in all) { if (rwd.CollectId == collectId) { list.Add(rwd); } } return list; } } }