// Generate By EToy // Don't Edit It!! using System.Collections.Generic; using XGame.Framework.Database; namespace XGame.Database { public partial class collectTableRepo : TableRepository { public static List GetAllPartnerCollectList() { var collectList = GetAll(); var list = new List(); foreach (var item in collectList) { if (item.Type == 1) list.Add(item); } return list; } public static List GetAllEpiCollectList() { var collectList = GetAll(); var list = new List(); foreach (var item in collectList) { if (item.Type == 2) list.Add(item); } return list; } } }