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
Afficher le fichier Open project: deveel/deveeldb

Private Properties

Свойство Type Description
AssertNotDisposed void
Dispose void
DisposeTransaction void
OnQueryCommand void

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
GetMetadata ( object>.Dictionary metadata ) : void

Private Methods

Méthode Description
AssertNotDisposed ( ) : void
Dispose ( bool disposing ) : void
DisposeTransaction ( ) : void
OnQueryCommand ( QueryEvent e ) : void

Method Details

Commit() public méthode

public Commit ( ) : void
Résultat void

CreateLargeObject() public méthode

public CreateLargeObject ( long maxSize, bool compressed ) : ILargeObject
maxSize long
compressed bool
Résultat ILargeObject

CreateQuery() public méthode

public CreateQuery ( ) : IQuery
Résultat IQuery

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetLargeObject() public méthode

public GetLargeObject ( ObjectId objectId ) : ILargeObject
objectId ObjectId
Résultat ILargeObject

GetMetadata() protected méthode

protected GetMetadata ( object>.Dictionary metadata ) : void
metadata object>.Dictionary
Résultat void

Rollback() public méthode

public Rollback ( ) : void
Résultat void

Session() public méthode

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
Résultat System

SetTimeZone() public méthode

public SetTimeZone ( int hours, int minutes ) : void
hours int
minutes int
Résultat void