linq to entities - How to compare numeric and string values same times in Entity framework in C# with Lambda expression -

i want compare search value table columns fields, if compare string values contains property, no error in case comparing both numeric , string values, showing
does not take 1 argument
as displayed in attached picture
you using single = assignment operator. comparison use == operator:
where(p => p.venername.contains(searchtext) || p.primarycontact == id)
Comments
Post a Comment