C# Класс Deveel.Data.Session

This is a session that is constructed around a given user and a transaction, to the given database.
Наследование: ISession
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
AssertNotDisposed void
Dispose void
DisposeTransaction void
OnQueryCommand void

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
GetMetadata ( object>.Dictionary metadata ) : void

Приватные методы

Метод Описание
AssertNotDisposed ( ) : void
Dispose ( bool disposing ) : void
DisposeTransaction ( ) : void
OnQueryCommand ( QueryEvent e ) : void

Описание методов

Commit() публичный Метод

public Commit ( ) : void
Результат void

CreateLargeObject() публичный Метод

public CreateLargeObject ( long maxSize, bool compressed ) : ILargeObject
maxSize long
compressed bool
Результат ILargeObject

CreateQuery() публичный Метод

public CreateQuery ( ) : IQuery
Результат IQuery

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

GetLargeObject() публичный Метод

public GetLargeObject ( ObjectId objectId ) : ILargeObject
objectId ObjectId
Результат ILargeObject

GetMetadata() защищенный Метод

protected GetMetadata ( object>.Dictionary metadata ) : void
metadata object>.Dictionary
Результат void

Rollback() публичный Метод

public Rollback ( ) : void
Результат void

Session() публичный Метод

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
Результат System

SetTimeZone() публичный Метод

public SetTimeZone ( int hours, int minutes ) : void
hours int
minutes int
Результат void