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

Static Public Member Functions

static bool ReadOnly (this IDatabaseContext context)
 
static bool DeleteOnClose (this IDatabaseContext context)
 
static string DatabaseName (this IDatabaseContext context)
 
static string DefaultSchema (this IDatabaseContext context)
 
static bool AutoCommit (this IDatabaseContext context)
 
static bool IgnoreIdentifiersCase (this IDatabaseContext context)
 

Detailed Description

Definition at line 22 of file DatabaseContextExtensions.cs.

Member Function Documentation

static bool Deveel.Data.DatabaseContextExtensions.AutoCommit ( this IDatabaseContext  context)
inlinestatic

Definition at line 39 of file DatabaseContextExtensions.cs.

39  {
40  return context.SystemContext.AutoCommit();
41  }
static string Deveel.Data.DatabaseContextExtensions.DatabaseName ( this IDatabaseContext  context)
inlinestatic

Definition at line 31 of file DatabaseContextExtensions.cs.

31  {
32  return context.Configuration.GetString("database.name");
33  }
static string Deveel.Data.DatabaseContextExtensions.DefaultSchema ( this IDatabaseContext  context)
inlinestatic

Definition at line 35 of file DatabaseContextExtensions.cs.

35  {
36  return context.Configuration.GetString("database.defaultSchema", "APP");
37  }
static bool Deveel.Data.DatabaseContextExtensions.DeleteOnClose ( this IDatabaseContext  context)
inlinestatic

Definition at line 27 of file DatabaseContextExtensions.cs.

27  {
28  return context.Configuration.GetBoolean("system.deleteOnClose", false);
29  }
static bool Deveel.Data.DatabaseContextExtensions.IgnoreIdentifiersCase ( this IDatabaseContext  context)
inlinestatic

Definition at line 43 of file DatabaseContextExtensions.cs.

43  {
44  return context.SystemContext.IgnoreIdentifiersCase();
45  }
static bool Deveel.Data.DatabaseContextExtensions.ReadOnly ( this IDatabaseContext  context)
inlinestatic

Definition at line 23 of file DatabaseContextExtensions.cs.

23  {
24  return context.Configuration.GetBoolean("system.readOnly", false);
25  }

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