Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Class

SqlMapper

class SqlMapper

Module: System.Data.Sql
Assembly: System.Data.dll
Source file: SqlMapper.rvn

Inheritance: Object → SqlMapper

SQL-first buffered mapping; no change tracking, SQL generation or dynamic code generation.

Methods

10 items
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
Static member: Map<T>(result: SqlResult, map: (SqlRow) -> Result<T, SqlError>) -> Result<Sequence<T>, SqlError> Maps in row order and returns no partial collection on conversion failure.
Static member: Map<T>(result: SqlResult) -> Result<Sequence<T>, SqlError> Maps exact column names to public writable properties on a nongeneric reference class. Requires a public parameterless constructor; supports string, Int32 and Boolean. Missing/ambi…
Static member: Query<T>(connection: SqlConnection, statement: SqlStatement, map: (SqlRow) -> Result<T, SqlError>) -> Task<Result<Sequence<T>, SqlError>> Executes once and maps rows in order; errors produce no partial collection.
Static member: Query<T>(connection: SqlConnection, statement: SqlStatement) -> Task<Result<Sequence<T>, SqlError>> Executes once on the caller-owned connection, then maps the buffered rows.
Static member: Query<T>(connection: SqlConnection, text: string, map: (SqlRow) -> Result<T, SqlError>, parameters: ...object?[]) -> Task<Result<Sequence<T>, SqlError>> Binds ordinary values and applies an explicit row mapper on the caller-owned connection.
Static member: Query<T>(connection: SqlConnection, text: string, parameters: ...object?[]) -> Task<Result<Sequence<T>, SqlError>> Binds plain positional values, or snapshots one object with readable named properties. Providers define placeholder syntax.
ToString() -> string Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override. Inherited from Object.ToString