title: convert Application Insights query API call result to a DataTable
body: <p>I am using Application Insight to log CustomEvent. I would like querying it by code (c#). I found how to use the <a href="https://dev.applicationinsights.io/reference" rel="nofollow noreferrer">REST API</a>, and using GET/Query to run a query and get the JSON result.</p>
  
  <p>When I looks at the JSON string it's look defining a table: </p>
  
  <pre><code>    {
        "tables": [
          {
            "name": "PrimaryResult",
            "columns": [
              {
                "name": "timestamp",
                "type": "datetime"
              },
              {
  .....
     "rows": [
          [
            "2019-01-10T16:09:44.2443658Z",
            "zzzz",
            "customEvent",
            "{\"Application\":\"LogClient-IntegrationTests\",\"EventType\":\"Action\"}",
  </code></pre>
  
  <p>So I would like to know if it's exist a way to convert the result to a DataTable?</p>