C# Class Deveel.Data.Session

This is a session that is constructed around a given user and a transaction, to the given database.
Inheritance: ISession
Mostrar archivo Open project: deveel/deveeldb

Private Properties

Property Type Description
AssertNotDisposed void
Dispose void
DisposeTransaction void
OnQueryCommand void

Public Methods

Method Description
Commit ( ) : void
CreateLargeObject ( long maxSize, bool compressed ) : ILargeObject
CreateQuery ( ) : IQuery
Dispose ( ) : void
GetLargeObject ( ObjectId objectId ) : ILargeObject
Rollback ( ) : void
Session ( ITransaction transaction, string userName ) : System

Constructs the session for the given user and transaction to the given database.

SetTimeZone ( int hours, int minutes ) : void

Protected Methods

Method Description
GetMetadata ( object>.Dictionary metadata ) : void

Private Methods

Method Description
AssertNotDisposed ( ) : void
Dispose ( bool disposing ) : void
DisposeTransaction ( ) : void
OnQueryCommand ( QueryEvent e ) : void

Method Details

Commit() public method

public Commit ( ) : void
return void

CreateLargeObject() public method

public CreateLargeObject ( long maxSize, bool compressed ) : ILargeObject
maxSize long
compressed bool
return ILargeObject

CreateQuery() public method

public CreateQuery ( ) : IQuery
return IQuery

Dispose() public method

public Dispose ( ) : void
return void

GetLargeObject() public method

public GetLargeObject ( ObjectId objectId ) : ILargeObject
objectId ObjectId
return ILargeObject

GetMetadata() protected method

protected GetMetadata ( object>.Dictionary metadata ) : void
metadata object>.Dictionary
return void

Rollback() public method

public Rollback ( ) : void
return void

Session() public method

Constructs the session for the given user and transaction to the given database.
public Session ( ITransaction transaction, string userName ) : System
transaction ITransaction A transaction that handles the commands issued by /// the user during the session.
userName string
return System

SetTimeZone() public method

public SetTimeZone ( int hours, int minutes ) : void
hours int
minutes int
return void