Created
February 17, 2018 12:01
-
-
Save joshi-kumar/5cfc2ad15a0ead7f1252c2dfcd93838f to your computer and use it in GitHub Desktop.
using lambda (LINQ) find item in nested list (list under list)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query = query.Where(c => c.CustomerRoles.Select(cr => cr.SystemName).Contains(customerRole)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment