C# Класс Dccelerator.DataAccess.BerkeleyDb.Implementation.NotScheduledBDbTransaction

Наследование: IDataTransaction
Показать файл Открыть проект

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

Метод Описание
Commit ( ) : bool

Immidiatelly executes all prepared actions of this transaction. If this method is not called, but transaction are disposed - all prepared actions will be performed later, in some scheduler.

Commit ( string &error ) : bool
Delete ( entity ) : void

Removes entity from database.

DeleteMany ( IEnumerable entities ) : void

Removes entities from database.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Insert ( entity ) : void

Inserts entity into database.

InsertMany ( IEnumerable entities ) : void

Inserts entities into database.

NotScheduledBDbTransaction ( IDataManagerBDbFactory factory ) : System
Update ( entity ) : void

Updates entity in database.

UpdateMany ( IEnumerable entities ) : void

Updates entities in database.

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

Метод Описание
AppendTransactionElement ( entity, ActionType actionType ) : void

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

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

Immidiatelly executes all prepared actions of this transaction. If this method is not called, but transaction are disposed - all prepared actions will be performed later, in some scheduler.
public Commit ( ) : bool
Результат bool

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

public Commit ( string &error ) : bool
error string
Результат bool

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

Removes entity from database.
public Delete ( entity ) : void
Результат void

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

Removes entities from database.
public DeleteMany ( IEnumerable entities ) : void
entities IEnumerable
Результат void

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

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

Inserts entity into database.
public Insert ( entity ) : void
Результат void

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

Inserts entities into database.
public InsertMany ( IEnumerable entities ) : void
entities IEnumerable
Результат void

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

public NotScheduledBDbTransaction ( IDataManagerBDbFactory factory ) : System
factory IDataManagerBDbFactory
Результат System

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

Updates entity in database.
public Update ( entity ) : void
Результат void

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

Updates entities in database.
public UpdateMany ( IEnumerable entities ) : void
entities IEnumerable
Результат void