var query = from ef in Feature
join fa in Family on ef.FamilyCode queals fa.FamilyCode
where featureBuff.Contains(fe.FeatureCode) && fa.FamilyDefault ==(int)enumFamilyDefault.Display
select new FeatureFamilyInfo
{
FeatureCode = fe.FeatureCode,
FamilyCode = fa.FamilyCode,
};
list = query.ToList();
Linq 之 join on 查询
最新推荐文章于 2022-12-22 22:47:11 发布