Saber Shaikh

Saber Shaikh

  • 760
  • 1.2k
  • 135.2k

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'