![]() |
DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Represents an event fired at a given modification event (either INSERT, DELETE or UPDATE) at a given time (BEFORE or AFTER).
More...
Public Member Functions | |
| Trigger (TriggerInfo triggerInfo) | |
| Constructs a trigger with the given information. More... | |
| bool | CanInvoke (TableEvent context) |
| void | Invoke (IQuery context, TableEvent tableEvent) |
Properties | |
| TriggerInfo | TriggerInfo [get, private set] |
| Gets the information describing the dynamics of this trigger. More... | |
| ObjectName | TriggerName [get] |
| Gets the fully qualified name of the trigger, as defined in TriggerInfo More... | |
| TriggerType | TriggerType [get] |
| Gets the type of the trigger, as defined in TriggerInfo More... | |
| DbObjectType IDbObject. | ObjectType [get] |
| ObjectName IDbObject. | FullName [get] |
Properties inherited from Deveel.Data.Sql.IDbObject | |
| ObjectName | FullName [get] |
| Gets the fully qualified name of the object used to resolve it uniquely within the database. More... | |
| DbObjectType | ObjectType [get] |
| Gets the type of database object that the implementation is for More... | |
Private Member Functions | |
| void | FireTrigger (IQuery context, TableEvent tableEvent) |
| void | ExecuteProcedure (IQuery context) |
| void | NotifyTriggerEvent (IQuery context, TableEvent tableEvent) |
Represents an event fired at a given modification event (either INSERT, DELETE or UPDATE) at a given time (BEFORE or AFTER).
Event triggers can be of two different main categories:
Definition at line 38 of file Trigger.cs.
|
inline |
Constructs a trigger with the given information.
| triggerInfo | The object defining the information of this trigger. |
| ArgumentNullException | If the provided triggerInfo is null. |
Definition at line 47 of file Trigger.cs.
|
inline |
Definition at line 106 of file Trigger.cs.
|
inlineprivate |
Definition at line 93 of file Trigger.cs.
|
inlineprivate |
Definition at line 85 of file Trigger.cs.
|
inline |
Definition at line 115 of file Trigger.cs.
|
inlineprivate |
Definition at line 97 of file Trigger.cs.
|
getprivate |
Definition at line 81 of file Trigger.cs.
|
getprivate |
Definition at line 77 of file Trigger.cs.
|
getprivate set |
Gets the information describing the dynamics of this trigger.
Definition at line 57 of file Trigger.cs.
|
get |
Gets the fully qualified name of the trigger, as defined in TriggerInfo
Definition at line 64 of file Trigger.cs.
|
get |
Gets the type of the trigger, as defined in TriggerInfo
Definition at line 73 of file Trigger.cs.
1.8.10