Class AbstractSqlAttribute
Base class for attributes that attach SQL to a DAO interface method.
Inherited Members
Namespace: Activout.DatabaseClient.Attributes
Assembly: Activout.DatabaseClient.dll
Syntax
[AttributeUsage(AttributeTargets.Method)]
public abstract class AbstractSqlAttribute : Attribute
Constructors
| Edit this page View SourceAbstractSqlAttribute(string)
Base class for attributes that attach SQL to a DAO interface method.
Declaration
protected AbstractSqlAttribute(string sql)
Parameters
| Type | Name | Description |
|---|---|---|
| string | sql | The SQL to execute when the method is called. |
Properties
| Edit this page View SourceSql
The SQL to execute when the method is called.
Declaration
public string Sql { get; }
Property Value
| Type | Description |
|---|---|
| string |