DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Package Functions | Properties | List of all members
Deveel.Data.Sql.Triggers.TableEvent Class Reference

Exposes the context of an event fired on a table. More...

Inheritance diagram for Deveel.Data.Sql.Triggers.TableEvent:
Deveel.Data.Diagnostics.Event Deveel.Data.Diagnostics.IEvent

Package Functions

 TableEvent (ITable table, TriggerEventType eventType, RowId oldRowId, Row newRow)
 

Properties

ITable Table [get, private set]
 Gets the table on which the event occurred. More...
 
TriggerEventType EventType [get, private set]
 Gets the type of event that occurred on the table. More...
 
RowId OldRowId [get, private set]
 Gets an optional reference to a row removed or updated. More...
 
Row NewRow [get, private set]
 Gets the row object being added or updated. More...
 
- Properties inherited from Deveel.Data.Diagnostics.Event
IEventSource EventSource [get, set]
 
DateTimeOffset TimeStamp [get, private set]
 
IDictionary< string, object > IEvent. EventData [get]
 
- Properties inherited from Deveel.Data.Diagnostics.IEvent
IEventSource EventSource [get, set]
 Gets the event source. More...
 
DateTimeOffset TimeStamp [get]
 
IDictionary< string, object > EventData [get]
 Gets additional event data that come with the event. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Deveel.Data.Diagnostics.Event
 Event ()
 
 Event (DateTimeOffset timeStamp)
 
virtual void GetEventData (Dictionary< string, object > data)
 
virtual IEventSource OnSourceGet (IEventSource eventSource)
 
virtual IEventSource OnSourceSet (IEventSource eventSource)
 

Detailed Description

Exposes the context of an event fired on a table.

Definition at line 26 of file TableEvent.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Triggers.TableEvent.TableEvent ( ITable  table,
TriggerEventType  eventType,
RowId  oldRowId,
Row  newRow 
)
inlinepackage

Definition at line 27 of file TableEvent.cs.

27  {
28  if (table == null)
29  throw new ArgumentNullException("table");
30 
31  Table = table;
32  EventType = eventType;
33  OldRowId = oldRowId;
34  NewRow = newRow;
35  }
RowId OldRowId
Gets an optional reference to a row removed or updated.
Definition: TableEvent.cs:50
TriggerEventType EventType
Gets the type of event that occurred on the table.
Definition: TableEvent.cs:45
Row NewRow
Gets the row object being added or updated.
Definition: TableEvent.cs:55

Property Documentation

TriggerEventType Deveel.Data.Sql.Triggers.TableEvent.EventType
getprivate set

Gets the type of event that occurred on the table.

Definition at line 45 of file TableEvent.cs.

Row Deveel.Data.Sql.Triggers.TableEvent.NewRow
getprivate set

Gets the row object being added or updated.

Definition at line 55 of file TableEvent.cs.

RowId Deveel.Data.Sql.Triggers.TableEvent.OldRowId
getprivate set

Gets an optional reference to a row removed or updated.

Definition at line 50 of file TableEvent.cs.

ITable Deveel.Data.Sql.Triggers.TableEvent.Table
getprivate set

Gets the table on which the event occurred.

Definition at line 40 of file TableEvent.cs.


The documentation for this class was generated from the following file: