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