Namespace SqlBound
Classes
- SqlExecuteAttribute
Marks a
static partialmethod whose implementation is emitted by the SqlBound source generator: the method executescommandTextas 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 partialmethod whose implementation is emitted by the SqlBound source generator: the method executescommandTextand 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.