public int QueryCount(int queryId)
        {
            var doQuery = new DoQueryCount.Builder(Application.Client.Ticket, Application.Token, Application.Client.AccountDomain, TableId)
                          .SetQid(queryId)
                          .Build();
            var xml = doQuery.Post().CreateNavigator();

            return(int.Parse(xml.SelectSingleNode("/qdbapi/numMatches").Value));
        }
Beispiel #2
0
        public int QueryCount(int queryId)
        {
            var doQuery = new DoQueryCount.Builder(Application.Client.Ticket, Application.Token, Application.Client.AccountDomain, TableId)
                          .SetQid(queryId)
                          .Build();
            var xml = doQuery.Post();

            return(int.Parse(xml.Element("numMatches").Value));
        }