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

Static Public Member Functions

static void CreateTrigger (this ISession session, TriggerInfo triggerInfo)
 
static bool TriggerExists (this ISession session, ObjectName triggerName)
 

Detailed Description

Definition at line 22 of file UserSessionExtensions.cs.

Member Function Documentation

static void Deveel.Data.Sql.Triggers.UserSessionExtensions.CreateTrigger ( this ISession  session,
TriggerInfo  triggerInfo 
)
inlinestatic

Definition at line 23 of file UserSessionExtensions.cs.

23  {
24  var manager = session.Transaction.GetTriggerManager();
25  if (manager == null)
26  return;
27 
28  manager.CreateTrigger(triggerInfo);
29  }
static bool Deveel.Data.Sql.Triggers.UserSessionExtensions.TriggerExists ( this ISession  session,
ObjectName  triggerName 
)
inlinestatic

Definition at line 31 of file UserSessionExtensions.cs.

31  {
32  var manager = session.Transaction.GetTriggerManager();
33  if (manager == null)
34  return false;
35 
36  return manager.TriggerExists(triggerName);
37  }

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