public T RunScalerQuery <T>(SQLQueryScaler <T> query) { var task = RunScalerQueryAsync <T>(query); task.Wait(); return(task.Result); }
public async Task <T> RunScalerQueryAsync <T>(string sql) { var query = new SQLQueryScaler <T>(sql); await RunQueryAsync(query); return(query.ReturnValue); }
public async Task <T> RunScalerQueryAsync <T>(SQLQueryScaler <T> query) { await RunQueryAsync(query); return(query.ReturnValue); }