Last post Jul 30, 2015 01:07 AM by Fei Han - MSFT
Jul 29, 2015 04:44 AM|Shibly|LINK
I want to create a linq expression where I can search the content like "like" clause form sql query. But I don't understand how to do that.
Can anyone help me please.
Jul 29, 2015 05:30 AM|abrly|LINK
we can implement like operator in linq with string's extention methods String.StartsWith/EndsWith/Contains
for example your where clause can be as below
Jul 29, 2015 05:33 AM|mohitp22|LINK
you can use
Jul 30, 2015 01:07 AM|Fei Han - MSFT|LINK
How to create sql "like" query in linq?
Please refer to the following links which will show you how to use Like Operator in Linq to SQL queries.