C# Class Deveel.Data.DatabaseExtensions

Afficher le fichier Open project: deveel/deveeldb

Méthodes publiques

Méthode Description
AsEventSource ( this database ) : IEventSource
Authenticate ( this database, string username, string password ) : bool
Close ( this database ) : bool
CreateSession ( this database, string userName, string password ) : ISession
CreateSession ( this database, string userName, string password, IsolationLevel isolation ) : ISession
CreateTransaction ( this database, IsolationLevel isolation ) : ITransaction
Delete ( this database ) : bool
FindTransactionById ( this database, int commidId ) : ITransaction

Private Methods

Méthode Description
CreateInitialSystemSession ( this database ) : ISession
CreateSafeTransaction ( this database, IsolationLevel isolation ) : ITransaction
CreateSession ( this database, string userName, IsolationLevel isolation ) : ISession
CreateSystemSession ( this database ) : ISession
CreateSystemSession ( this database, IsolationLevel isolation ) : ISession

Method Details

AsEventSource() public static méthode

public static AsEventSource ( this database ) : IEventSource
database this
Résultat IEventSource

Authenticate() public static méthode

public static Authenticate ( this database, string username, string password ) : bool
database this
username string
password string
Résultat bool

Close() public static méthode

public static Close ( this database ) : bool
database this
Résultat bool

CreateSession() public static méthode

public static CreateSession ( this database, string userName, string password ) : ISession
database this
userName string
password string
Résultat ISession

CreateSession() public static méthode

public static CreateSession ( this database, string userName, string password, IsolationLevel isolation ) : ISession
database this
userName string
password string
isolation IsolationLevel
Résultat ISession

CreateTransaction() public static méthode

public static CreateTransaction ( this database, IsolationLevel isolation ) : ITransaction
database this
isolation IsolationLevel
Résultat ITransaction

Delete() public static méthode

public static Delete ( this database ) : bool
database this
Résultat bool

FindTransactionById() public static méthode

public static FindTransactionById ( this database, int commidId ) : ITransaction
database this
commidId int
Résultat ITransaction