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

Static Public Member Functions

static User User (this IQuery query)
 
static string UserName (this IQuery query)
 
static bool IgnoreIdentifiersCase (this IQuery query)
 
static void IgnoreIdentifiersCase (this IQuery query, bool value)
 
static void AutoCommit (this IQuery query, bool value)
 
static bool AutoCommit (this IQuery query)
 
static string CurrentSchema (this IQuery query)
 
static void CurrentSchema (this IQuery query, string value)
 
static void ParameterStyle (this IQuery query, QueryParameterStyle value)
 
static QueryParameterStyle ParameterStyle (this IQuery query)
 
static void Commit (this IQuery query)
 
static void Rollback (this IQuery query)
 

Static Package Functions

static IQuery Direct (this IQuery query)
 

Detailed Description

Definition at line 23 of file QueryExtensions.cs.

Member Function Documentation

static void Deveel.Data.QueryExtensions.AutoCommit ( this IQuery  query,
bool  value 
)
inlinestatic

Definition at line 45 of file QueryExtensions.cs.

45  {
46  query.Context.AutoCommit(value);
47  }
static bool Deveel.Data.QueryExtensions.AutoCommit ( this IQuery  query)
inlinestatic

Definition at line 49 of file QueryExtensions.cs.

49  {
50  return query.Context.AutoCommit();
51  }
static void Deveel.Data.QueryExtensions.Commit ( this IQuery  query)
inlinestatic

Definition at line 69 of file QueryExtensions.cs.

69  {
70  query.Session.Commit();
71  }
static string Deveel.Data.QueryExtensions.CurrentSchema ( this IQuery  query)
inlinestatic

Definition at line 53 of file QueryExtensions.cs.

53  {
54  return query.Context.CurrentSchema();
55  }
static void Deveel.Data.QueryExtensions.CurrentSchema ( this IQuery  query,
string  value 
)
inlinestatic

Definition at line 57 of file QueryExtensions.cs.

57  {
58  query.Context.CurrentSchema(value);
59  }
static IQuery Deveel.Data.QueryExtensions.Direct ( this IQuery  query)
inlinestaticpackage

Definition at line 32 of file QueryExtensions.cs.

32  {
33  var systemSession = new SystemSession(query.Session.Transaction, query.Session.CurrentSchema);
34  return new Query(systemSession);
35  }
static bool Deveel.Data.QueryExtensions.IgnoreIdentifiersCase ( this IQuery  query)
inlinestatic

Definition at line 37 of file QueryExtensions.cs.

37  {
38  return query.Context.IgnoreIdentifiersCase();
39  }
static void Deveel.Data.QueryExtensions.IgnoreIdentifiersCase ( this IQuery  query,
bool  value 
)
inlinestatic

Definition at line 41 of file QueryExtensions.cs.

41  {
42  query.Context.IgnoreIdentifiersCase(value);
43  }
static void Deveel.Data.QueryExtensions.ParameterStyle ( this IQuery  query,
QueryParameterStyle  value 
)
inlinestatic

Definition at line 61 of file QueryExtensions.cs.

61  {
62  query.Context.ParameterStyle(value);
63  }
static QueryParameterStyle Deveel.Data.QueryExtensions.ParameterStyle ( this IQuery  query)
inlinestatic

Definition at line 65 of file QueryExtensions.cs.

65  {
66  return query.Context.ParameterStyle();
67  }
static void Deveel.Data.QueryExtensions.Rollback ( this IQuery  query)
inlinestatic

Definition at line 73 of file QueryExtensions.cs.

73  {
74  query.Session.Rollback();
75  }
static User Deveel.Data.QueryExtensions.User ( this IQuery  query)
inlinestatic

Definition at line 24 of file QueryExtensions.cs.

24  {
25  return query.Session.User;
26  }
static string Deveel.Data.QueryExtensions.UserName ( this IQuery  query)
inlinestatic

Definition at line 28 of file QueryExtensions.cs.

28  {
29  return query.User().Name;
30  }

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