C# Class Dccelerator.DataAccess.BerkeleyDb.Implementation.NotScheduledBDbTransaction

Inheritance: IDataTransaction
Afficher le fichier Open project: we-apon/Dccelerator

Méthodes publiques

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

Private Methods

Méthode Description
AppendTransactionElement ( entity, ActionType actionType ) : void

Method Details

Commit() public méthode

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

Commit() public méthode

public Commit ( string &error ) : bool
error string
Résultat bool

Delete() public méthode

Removes entity from database.
public Delete ( entity ) : void
Résultat void

DeleteMany() public méthode

Removes entities from database.
public DeleteMany ( IEnumerable entities ) : void
entities IEnumerable
Résultat void

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Insert() public méthode

Inserts entity into database.
public Insert ( entity ) : void
Résultat void

InsertMany() public méthode

Inserts entities into database.
public InsertMany ( IEnumerable entities ) : void
entities IEnumerable
Résultat void

NotScheduledBDbTransaction() public méthode

public NotScheduledBDbTransaction ( IDataManagerBDbFactory factory ) : System
factory IDataManagerBDbFactory
Résultat System

Update() public méthode

Updates entity in database.
public Update ( entity ) : void
Résultat void

UpdateMany() public méthode

Updates entities in database.
public UpdateMany ( IEnumerable entities ) : void
entities IEnumerable
Résultat void