Class ScalarMapper<T>

Assembly: redb.Route.Sql.dll

Maps the first column of the current row to a scalar value.
A is null for a nullable or reference T and an error for a value type;
other values convert only when that is lossless and unambiguous, as does.

public sealed class ScalarMapper<T> : ISqlRowMapper<T?>

Inheritance

Object→ScalarMapper<T>

Implements

Methods

Map(DbDataReader)

Maps the current row of the reader to an object.

public T? Map(DbDataReader reader)