using System.Collections.Generic;
using System.Linq;
namespace ET
{
public partial class AllItemConfigCategory
{
///
/// 获取AllItem表中指定RelatedTable的所有项目
///
/// RelatedTableID
///
public List GetAllItemByRelatedTable(int id)
{
var result = new List();
foreach (var config in this.list)
{
if (config.RelatedTable == id)
{
result.Add(config.Id);
continue;
}
}
return result;
}
}
}