Executes the query, converting the first record to the specified type.
public T QueryFirst<T>()
Throws InvalidOperationException if no records are returned.
Executes the query, converting the first record to the specified type with the specified delegate.
public T QueryFirst<T>(Func<IDataRecord, T> map)
Throws InvalidOperationException if no records are returned.