Skip to content

Quering a list of strings not an objects #150

Answered by alirezanet
SARM256 asked this question in Q&A
Discussion options

You must be logged in to vote

using queryBuilder:

var filtered = new QueryBuilder<string>()
			.UseEmptyMapper()
			.AddMap("x", q => q)
			.AddCondition("x =Chilly")
			.Build(summaries);

or

var gm = new GridifyMapper<string>().AddMap("x", to: q => q);					 
var filtered = summaries.AsQueryable().ApplyFiltering("x=Chilly", gm); 

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SARM256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants