Table of Contents

Namespace SqlBound

Classes

SqlExecuteAttribute

Marks a static partial method whose implementation is emitted by the SqlBound source generator: the method executes commandText as a non-query statement (INSERT/UPDATE/DELETE/DDL), returning the number of affected rows (Task<int>) or discarding it (Task).

SqlParameters

An immutable, named set of SQL parameter values. Null values are normalized to DBNull so callers can bind them to an ADO.NET parameter without a separate null check.

SqlQueryAttribute

Marks a static partial method whose implementation is emitted by the SqlBound source generator: the method executes commandText and materializes the result rows into the method's declared return type with straight-line, reflection-free reader code.

SqlSession

Executes SQL against an already-open DbConnection. SqlSession never opens, closes, or otherwise owns the connection or its lifecycle — that responsibility always stays with the caller, so the same connection (and transaction) can be shared safely with other data-access libraries.