Using ESRI Sliverlight API 3.1 using layer definition in dynamic service layer, when I create a definition ID in ('1','2','3'......'1000001') . This definition is not getting applied, when I pass big string in REST unable to perform the query. But I need to set a filter based on ID, but I cannot number of ids. How to solve this?
LayerDefinition def = new LayerDefinition();
def.LayerID = layerId;
def.Definition = "ID" + " in " + idString;
dynamicServiceLayer.LayerDefinitions.Add(def);
idString = ID in ('1', '2','3'.....'1000001')