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

Static Public Member Functions

static IDatabaseContext CreateDatabaseContext (this ISystemContext context, string name)
 
static bool ReadOnly (this ISystemContext context)
 
static bool IgnoreIdentifiersCase (this ISystemContext context)
 
static string DefaultSchema (this ISystemContext context)
 
static bool AutoCommit (this ISystemContext context)
 

Detailed Description

Definition at line 27 of file SystemContextExtensions.cs.

Member Function Documentation

static bool Deveel.Data.SystemContextExtensions.AutoCommit ( this ISystemContext  context)
inlinestatic

Definition at line 49 of file SystemContextExtensions.cs.

49  {
50  return context.Configuration.GetBoolean("system.autoCommit");
51  }
static IDatabaseContext Deveel.Data.SystemContextExtensions.CreateDatabaseContext ( this ISystemContext  context,
string  name 
)
inlinestatic

Definition at line 28 of file SystemContextExtensions.cs.

28  {
29  var dbConfig = new Configuration.Configuration();
30  dbConfig.SetValue("database.name", name);
31  return context.CreateDatabaseContext(dbConfig);
32  }
Configuration(bool isRoot)
Constructs the Configuration.
static string Deveel.Data.SystemContextExtensions.DefaultSchema ( this ISystemContext  context)
inlinestatic

Definition at line 45 of file SystemContextExtensions.cs.

45  {
46  return context.Configuration.GetString("database.defaultSchema","APP");
47  }
static bool Deveel.Data.SystemContextExtensions.IgnoreIdentifiersCase ( this ISystemContext  context)
inlinestatic

Definition at line 40 of file SystemContextExtensions.cs.

40  {
41  return context.Configuration.GetBoolean("system.ignoreIdCase", true);
42  }
static bool Deveel.Data.SystemContextExtensions.ReadOnly ( this ISystemContext  context)
inlinestatic

Definition at line 36 of file SystemContextExtensions.cs.

36  {
37  return context.Configuration.GetBoolean("system.readOnly", false);
38  }

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