var kusto = string.Format("let MyData = CompanyMydata" +
" | where ID == 'Z123' | top 1 by dateTimeUtc desc");
var reader = client.ExecuteQuery(kusto);
while (reader.Read())
{
//how can i return coming result as list of string or json string?
}
在while loop
我可以通过使用一一返回单列值,
string state = reader.GetString(1);
但我想返回完整结果而不是一一列值。这样我就可以JsonConvert.DeserializeObject<T>(resultString);
对特定的课程进行操作。