If I get two result IQueryable from different linq Query and I want to merge them together and return one as result, how to to this?
For example, if:
var q1 = (IQueryable<Person>).....;
var q2 = (IQueryable<Person>).....;
how to merge q1 and q2 together and get result like
var q = (IQueryable<Person>)q1.Union(q2);
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…