i have page search thread with keyword support unicode
example:keyword hung will display result hùng and hung
my code in linq:
from thread in db.thread .Where(o => (!String.IsNullOrEmpty(key)) ? thread.content.Contains(
key) : true)
i have try add method removeunicode
from thread in db.thread .Where(o => (!String.IsNullOrEmpty(key)) ? removeunicode(thread.content).Contains(
key) : true)
but it's error linq to entities does not recognize the methodPlease help me,thanks very much!
nguyen hungPosted Jul 16, 2016, 10:35 AM
Manas MohapatraPosted Jul 16, 2016, 8:11 AM