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 method
Please help me,thanks very much!