DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Protected Member Functions | Properties | Private Member Functions | Private Attributes | List of all members
Deveel.Data.Context Class Reference
Inheritance diagram for Deveel.Data.Context:
Deveel.Data.IContext Deveel.Data.BlockContext Deveel.Data.DatabaseContext Deveel.Data.QueryContext Deveel.Data.SessionContext Deveel.Data.SystemContext Deveel.Data.Transactions.TransactionContext

Public Member Functions

void Dispose ()
 

Protected Member Functions

 Context ()
 
 Context (IContext parent)
 
virtual void Dispose (bool disposing)
 

Properties

abstract string ContextName [get]
 
virtual IScope ContextScope [get]
 
IContext ParentContext [get, private set]
 
IContext IContext. Parent [get]
 
IScope IContext. Scope [get]
 
string IContext. Name [get]
 
- Properties inherited from Deveel.Data.IContext
IContext Parent [get]
 
string Name [get]
 
IScope Scope [get]
 

Private Member Functions

 ~Context ()
 
void InitScope ()
 

Private Attributes

IScope scope
 

Detailed Description

Definition at line 22 of file Context.cs.

Constructor & Destructor Documentation

Deveel.Data.Context.Context ( )
inlineprotected

Definition at line 25 of file Context.cs.

26  : this(null) {
27  }
Deveel.Data.Context.Context ( IContext  parent)
inlineprotected

Definition at line 29 of file Context.cs.

29  {
30  ParentContext = parent;
31  InitScope();
32  }
IContext ParentContext
Definition: Context.cs:44
void InitScope()
Definition: Context.cs:58
Deveel.Data.Context.~Context ( )
inlineprivate

Definition at line 34 of file Context.cs.

34  {
35  Dispose(false);
36  }

Member Function Documentation

virtual void Deveel.Data.Context.Dispose ( bool  disposing)
inlineprotectedvirtual

Reimplemented in Deveel.Data.SystemContext, Deveel.Data.DatabaseContext, and Deveel.Data.Transactions.TransactionContext.

Definition at line 63 of file Context.cs.

63  {
64  if (disposing) {
65  if (scope != null)
66  scope.Dispose();
67  }
68 
69  scope = null;
70  ParentContext = null;
71  }
IContext ParentContext
Definition: Context.cs:44
void Deveel.Data.Context.Dispose ( )
inline

Definition at line 73 of file Context.cs.

73  {
74  Dispose(true);
75  GC.SuppressFinalize(this);
76  }
void Deveel.Data.Context.InitScope ( )
inlineprivate

Definition at line 58 of file Context.cs.

58  {
59  if (ParentContext != null)
61  }
abstract string ContextName
Definition: Context.cs:38
IContext ParentContext
Definition: Context.cs:44
IScope OpenScope(string name)

Member Data Documentation

IScope Deveel.Data.Context.scope
private

Definition at line 23 of file Context.cs.

Property Documentation

abstract string Deveel.Data.Context.ContextName
getprotected

Definition at line 38 of file Context.cs.

virtual IScope Deveel.Data.Context.ContextScope
getprotected

Definition at line 40 of file Context.cs.

string IContext. Deveel.Data.Context.Name
getprivate

Definition at line 54 of file Context.cs.

IContext IContext. Deveel.Data.Context.Parent
getprivate

Definition at line 46 of file Context.cs.

IContext Deveel.Data.Context.ParentContext
getprivate setprotected

Definition at line 44 of file Context.cs.

IScope IContext. Deveel.Data.Context.Scope
getprivate

Definition at line 50 of file Context.cs.


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