Saber Shaikh

Saber Shaikh

  • 757
  • 1.2k
  • 135.4k

how to use like keyword in linq query

Dec 16 2014 1:11 AM

query = query.Where

(s => s.tbl.Contains(tbl));

Contains() is translated LIKE '%term%' StartsWith() = LIKE 'term%' EndsWith() = LIKE '%term'