Saber Shaikh

Saber Shaikh

  • 760
  • 1.2k
  • 135.2k

how to use like keyword in linq query

Dec 16 2014 1:15 AM

how to use like keyword in linq query

query = query.Where

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

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



Thank You


Bolg : http://aspnettutorialscode.blogspot.in/





Answers (2)