我有两个上下文类连接到两个不同的数据库,所以我试图在这些实体之间进行连接,但是当我写道:
RackJoinList rjlist = new RackJoinList();
var racks = from rack in tms.TMSRacks
.Where(a=>a.Technology.Tag.ToUpper().StartsWith(q.ToUpper()) || (q ==null))
select rack;
rjlist.Racks = racks.ToList();
var resources = from resource in entities.Resources join c in rjlist.Racks.AsQueryable()
on resource.RESOURCEID ==
我无法加入资源和 rjlist.Rack,有人可以建议吗?