Exemple #1
0
        public T RunScalerQuery <T>(SQLQueryScaler <T> query)
        {
            var task = RunScalerQueryAsync <T>(query);

            task.Wait();
            return(task.Result);
        }
Exemple #2
0
        public async Task <T> RunScalerQueryAsync <T>(string sql)
        {
            var query = new SQLQueryScaler <T>(sql);

            await RunQueryAsync(query);

            return(query.ReturnValue);
        }
Exemple #3
0
        public async Task <T> RunScalerQueryAsync <T>(SQLQueryScaler <T> query)
        {
            await RunQueryAsync(query);

            return(query.ReturnValue);
        }