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

An isolated session to a given database for a given user, encapsulating the transaction for operations. More...

Inheritance diagram for Deveel.Data.ISession:
Deveel.Data.Diagnostics.IEventSource Deveel.Data.Session Deveel.Data.SystemSession

Public Member Functions

void Access (IEnumerable< IDbObject > objects, AccessType accessType)
 
void Exit (IEnumerable< IDbObject > objects, AccessType accessType)
 
void Lock (IEnumerable< IDbObject > objects, AccessType accessType, LockingMode mode)
 
IQuery CreateQuery ()
 
void Commit ()
 Commits the latest changes made by the user in the session. More...
 
void Rollback ()
 Rolls-back all the modifications made by the user in this session More...
 

Properties

string CurrentSchema [get]
 Gets the name of the current schema of this session. More...
 
DateTimeOffset StartedOn [get]
 
DateTimeOffset LastCommandTime [get]
 
User User [get]
 
ITransaction Transaction [get]
 Gets the instance of ITransaction that handles the transactional operations of this session. More...
 
new ISessionContext Context [get]
 
- Properties inherited from Deveel.Data.Diagnostics.IEventSource
IContext Context [get]
 
IEventSource ParentSource [get]
 Gets an optional parent source. More...
 
IEnumerable< KeyValuePair< string, object > > Metadata [get]
 Gets the list of metadata associated to the source. More...
 

Detailed Description

An isolated session to a given database for a given user, encapsulating the transaction for operations.

Definition at line 30 of file ISession.cs.

Member Function Documentation

void Deveel.Data.ISession.Access ( IEnumerable< IDbObject objects,
AccessType  accessType 
)
void Deveel.Data.ISession.Commit ( )

Commits the latest changes made by the user in the session.

See also
ITransaction

Implemented in Deveel.Data.Session, and Deveel.Data.SystemSession.

IQuery Deveel.Data.ISession.CreateQuery ( )
void Deveel.Data.ISession.Exit ( IEnumerable< IDbObject objects,
AccessType  accessType 
)
void Deveel.Data.ISession.Lock ( IEnumerable< IDbObject objects,
AccessType  accessType,
LockingMode  mode 
)
void Deveel.Data.ISession.Rollback ( )

Rolls-back all the modifications made by the user in this session

<seealse cref="ITransaction">

Implemented in Deveel.Data.Session, and Deveel.Data.SystemSession.

Property Documentation

new ISessionContext Deveel.Data.ISession.Context
get

Definition at line 48 of file ISession.cs.

string Deveel.Data.ISession.CurrentSchema
get

Gets the name of the current schema of this session.

Definition at line 34 of file ISession.cs.

DateTimeOffset Deveel.Data.ISession.LastCommandTime
get

Definition at line 38 of file ISession.cs.

DateTimeOffset Deveel.Data.ISession.StartedOn
get

Definition at line 36 of file ISession.cs.

ITransaction Deveel.Data.ISession.Transaction
get

Gets the instance of ITransaction that handles the transactional operations of this session.

Definition at line 46 of file ISession.cs.

User Deveel.Data.ISession.User
get

Definition at line 40 of file ISession.cs.


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