Ejemplo n.º 1
0
 private QueryResult <T> PerformQueryRequest <T>(HttpRequest request) where T : SObject
 {
     using (HttpClient httpClient = new HttpClient())
     {
         XmlDocument response = httpClient.PerformRequest(request);
         return(ResponseReader.ReadQueryResponse <T>(response));
     }
 }