0
Answer

how to use like keyword in linq query

Saber Shaikh

Saber Shaikh

9y
672
1

query = query.Where

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

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