Class 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>.
Inherited Members
Namespace: Activout.DatabaseClient.Attributes
Assembly: Activout.DatabaseClient.dll
Syntax
public class SqlUpdateAttribute : AbstractSqlAttribute
Constructors
| Edit this page View SourceSqlUpdateAttribute(string)
Creates the attribute.
Declaration
public SqlUpdateAttribute(string sql)
Parameters
| Type | Name | Description |
|---|---|---|
| string | sql | The statement to execute. |