I have an IQueryable object sth like;
IQueryable<People> query = DemoData.Where(x => true);
query = query.Where(p=> p.Nation == Nation); // query indicates people from a Nation now.
/*
.
.
some code
.
.
*/
query = query.RemoveWhere(p=> p.Nation == Nation); // this is what I want to have
// query indicates all Nation now.
I do want to be able to remove a condition from the query. I tried to express above. Is that possible?