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

Static Public Member Functions

static void OnBegin (this ISession session)
 
static void OnCommit (this ISession session)
 
static void OnRollback (this ISession session)
 
static void OnQuery (this ISession session, SqlQuery query)
 

Detailed Description

Definition at line 6 of file SessionExtensions.cs.

Member Function Documentation

static void Deveel.Data.Diagnostics.SessionExtensions.OnBegin ( this ISession  session)
inlinestatic

Definition at line 7 of file SessionExtensions.cs.

7  {
8  session.Database().OnSessionBegin(session.User.Name, session.Transaction.CommitId);
9  }
static void Deveel.Data.Diagnostics.SessionExtensions.OnCommit ( this ISession  session)
inlinestatic

Definition at line 11 of file SessionExtensions.cs.

11  {
12  session.Database().OnSessionCommit(session.User.Name, session.Transaction.CommitId);
13  }
static void Deveel.Data.Diagnostics.SessionExtensions.OnQuery ( this ISession  session,
SqlQuery  query 
)
inlinestatic

Definition at line 19 of file SessionExtensions.cs.

19  {
20  session.OnEvent(new QueryEvent(query));
21  }
static void Deveel.Data.Diagnostics.SessionExtensions.OnRollback ( this ISession  session)
inlinestatic

Definition at line 15 of file SessionExtensions.cs.

15  {
16  session.Database().OnSessionRollback(session.User.Name, session.Transaction.CommitId);
17  }

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