Last active
May 23, 2017 00:20
-
-
Save divega/e55da2831e6a5448622c36aafc997e62 to your computer and use it in GitHub Desktop.
Pattern for using Like in LINQ in EF 6.2
This file contains hidden or 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
var query = db.People.Where(p => DbFunctions.Like(p.Name, "w%")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment