Not a member of type<type> in the currently loaded schema
I have query for EDM in the codebehind as below, searchString contains the text that should be searched.
context.Applicants.OrderBy("it." + sortExpression).Include("FSWorker").
Where("it.[CaseName] like '%'" + searchString + "'%'").ToList();
throwing an error 'ash' is not a member of type 'SCDSS_ApplicationDataModel.Applicant' in the currently loaded schemas. Near si开发者_运维技巧mple identifier, line 8, column 4.
I think you have spare single quotes on the inner side of your % symbols in the where clause ?
精彩评论