18 using System.Collections.Generic;
23 namespace Deveel.Data.Sql.Triggers {
58 if (triggerName == null)
59 throw new ArgumentNullException(
"triggerName");
63 throw new ArgumentException(
"A CALLBACK TRIGGER cannot define any table to be attached to.");
65 TriggerName = triggerName;
66 EventType = eventType;
67 TableName = tableName;
70 Arguments =
new List<SqlExpression>();
109 public Type ExternalType {
get; set; }
111 public string ExternalMethod {
get; set; }
113 public ICollection<SqlExpression> Arguments {
get;
private set; }
116 get {
return TriggerName; }
Defines the information about a trigger on a table of the database, such as the event on which is fir...
TriggerInfo(ObjectName triggerName, TriggerEventType eventType)
Constructs a new callback trigger information object with the given name, and the event at which it s...
TriggerEventType
The different types of high layer trigger events.
Describes the name of an object within a database.
A user-defined TYPE that holds complex objects in a database column.
TriggerType
Enumerates the types of triggers, that can be volatile (like the Callback) or stored in the database...
A trigger that exists only within a user session and notifies of an event directly to the user client...
TriggerInfo(ObjectName triggerName, TriggerType triggerType, TriggerEventType eventType, ObjectName tableName)
Constructs a new trigger information object with the given name, the name of the table on which it is...
DbObjectType
The kind of objects that can be handled by a database system and its managers