DevExpress.DataAccess.BigQuery.BigQueryCommand.ExecuteScalar C# (CSharp) Method

ExecuteScalar() public method

Executes a SQL statement and returns the first column of the first row of the resulting data.
public ExecuteScalar ( ) : object
return object
        public override object ExecuteScalar() {
            var task = ExecuteScalarAsync(CancellationToken.None);
            try {
                return task.Result;
            }
            catch(AggregateException e) {
                throw e.Flatten().InnerException;
            }
        }