In the sample located at http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery , in the section QueryComboBox_SelectionChanged, how does the query know which field to search for the query.text value? I am trying to implement this sample with my own data and even though the combobox is properly populated, when the selection is changed the second query cannot find a matching feature. I am wondering what is wrong and noticed that nowhere is it specified which field to search. If I specifically set the Where clause, it does work. So I am wondering what's up with the sample code and why does it work in the sample and not in my project?
The sample is using Query.Text property which is a shorthand for a literal search text on the display field. If your display field is not the one you want to use for querying, you can set the where clause instead.