DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Static Public Member Functions | List of all members
Deveel.Data.Diagnostics.DatabaseExtensions Class Reference

Static Public Member Functions

static void OnSessionEvent (this IDatabase database, string userName, int commitId, SessionEventType eventType)
 
static void OnSessionBegin (this IDatabase database, string userName, int commitId)
 
static void OnSessionCommit (this IDatabase database, string userName, int commitId)
 
static void OnSessionRollback (this IDatabase database, string userName, int commitId)
 

Detailed Description

Definition at line 4 of file DatabaseExtensions.cs.

Member Function Documentation

static void Deveel.Data.Diagnostics.DatabaseExtensions.OnSessionBegin ( this IDatabase  database,
string  userName,
int  commitId 
)
inlinestatic

Definition at line 9 of file DatabaseExtensions.cs.

9  {
10  database.OnSessionEvent(userName, commitId, SessionEventType.Begin);
11  }
static void Deveel.Data.Diagnostics.DatabaseExtensions.OnSessionCommit ( this IDatabase  database,
string  userName,
int  commitId 
)
inlinestatic

Definition at line 13 of file DatabaseExtensions.cs.

13  {
14  database.OnSessionEvent(userName, commitId, SessionEventType.EndForCommit);
15  }
static void Deveel.Data.Diagnostics.DatabaseExtensions.OnSessionEvent ( this IDatabase  database,
string  userName,
int  commitId,
SessionEventType  eventType 
)
inlinestatic

Definition at line 5 of file DatabaseExtensions.cs.

5  {
6  database.OnEvent(new SessionEvent(userName, commitId, eventType));
7  }
static void Deveel.Data.Diagnostics.DatabaseExtensions.OnSessionRollback ( this IDatabase  database,
string  userName,
int  commitId 
)
inlinestatic

Definition at line 17 of file DatabaseExtensions.cs.

17  {
18  database.OnSessionEvent(userName, commitId, SessionEventType.EndForRollback);
19  }

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