Posts tagged “SQL”

Performing LIKE '%query%' Searches in LINQ

Scott Walker · Mar 16, 2012

When you need SQL-style LIKE '%keyword%' behavior in LINQ to SQL or Entity Framework, the simplest approach is to use Contains(). It automatically translates to a SQL LIKE query.

đŸ’Ŧ 0 Linq SQL