odata方法 $top
$top1 取1个 ¥top100取100个,放在$select前,中间用&符号隔开。
例如:
var activeserviceReq =
"/xrmservices/2011/OrganizationData.svc/service_vehicleSet?$top=1&
$select=vehicle_service_vehicle_vehicleid/vehicle_typeid&
$expand=vehicle_service_vehicle_vehicleid&$filter=active_service/Id eq guid'"
+ activeservice[0].id + "'";