标签:
1.两种表的数据,查询两次
var view = Resolve<IAccountService>().GetPagedList(query); var userIds = view.Select(r => r.UserId).ToList(); var userList = Resolve<IUserService>().GetValue(r => userIds.Contains(r.Id), r => new User { UserName = r.UserName });
标签:
原文地址:http://www.cnblogs.com/zkcloud/p/5701944.html