How to search a varchar field, using LINQ, to build a list of recommendations
问题 I am trying to construct a LINQ query, with expression trees, to do the following: I have a field in my ItemCode table called Labels, an example of the data contained in this field is "lamps lighting chandelier". I want to allow the user to type in some text, i.e. "Red Lamp", and be able to search the Labels field, of the ItemCode, table where the text contains "Red" or "Lamp". I am trying to recommend selections to the user, and this, while basic, is a good first step ... just need some help