/// <summary> /// Executes the query and returns the first column of the first row in the result set returned by the query. All other columns and rows are ignored. /// </summary> /// <typeparam name="TValue">The type of the value.</typeparam> /// <param name="dataQuery">The <see cref="IDataQuery"/> for this extension method.</param> /// <returns> /// The value of the first column of the first row in the result set. /// </returns> public static TValue QueryValue <TValue>(this IDataQuery dataQuery) { return(dataQuery.QueryValue <TValue>(null)); }