Namespace Activout.DatabaseClient.Attributes
Classes
AbstractSqlAttribute
Base class for attributes that attach SQL to a DAO interface method.
BindAttribute
Binds a method parameter, or a property of a BindPropertiesAttribute parameter, to a named SQL parameter.
BindPropertiesAttribute
Binds each public property of the parameter as an SQL parameter, both as property
and as parameter_property, where either name can be changed with BindAttribute.
The gateway adds any prefix, such as @. The parameter value must not be null.
SqlQueryAttribute
Runs a query. A method returning IEnumerable<T> (or a task of one) gets all rows,
any other return type gets the first row or default.
SqlUpdateAttribute
Executes a statement that does not return rows, such as INSERT, UPDATE or DDL.
The method returns void or Task, or the number of affected rows as int or Task<int>.