M
MrEd
Hi all
I have a class that represents Accounts and each one of them has a
property that has a list of tags (Tag is also a class) so i can do
something like
foreach (Tag currentTag in myAccount.Tags)
Console.WriteLn(currentTag);
no problems there, i want my users to be able to search Accounts by
Tags so if I have a filter like:
List<Tag> filter = new List<Tag>
filter.Add(aTag1);
filter.Add(aTag2);
how can I express a LINQ query that will return the accounts that have
this combination of tags?
I have a class that represents Accounts and each one of them has a
property that has a list of tags (Tag is also a class) so i can do
something like
foreach (Tag currentTag in myAccount.Tags)
Console.WriteLn(currentTag);
no problems there, i want my users to be able to search Accounts by
Tags so if I have a filter like:
List<Tag> filter = new List<Tag>
filter.Add(aTag1);
filter.Add(aTag2);
how can I express a LINQ query that will return the accounts that have
this combination of tags?