C# Class ServiceStack.OrmLite.OrmLiteConnection

Wrapper IDbConnection class to allow for connection sharing, mocking, etc.
Inheritance: IDbConnection, IHasDbConnection, IHasDbTransaction, ISetDbTransaction
Datei anzeigen Open project: ServiceStack/ServiceStack.OrmLite Class Usage Examples

Public Properties

Property Type Description
Factory OrmLiteConnectionFactory

Public Methods

Method Description
BeginTransaction ( ) : IDbTransaction
BeginTransaction ( IsolationLevel isolationLevel ) : IDbTransaction
ChangeDatabase ( string databaseName ) : void
Close ( ) : void
CreateCommand ( ) : IDbCommand
Dispose ( ) : void
Open ( ) : void
OrmLiteConnection ( OrmLiteConnectionFactory factory ) : System.Data

Method Details

BeginTransaction() public method

public BeginTransaction ( ) : IDbTransaction
return IDbTransaction

BeginTransaction() public method

public BeginTransaction ( IsolationLevel isolationLevel ) : IDbTransaction
isolationLevel IsolationLevel
return IDbTransaction

ChangeDatabase() public method

public ChangeDatabase ( string databaseName ) : void
databaseName string
return void

Close() public method

public Close ( ) : void
return void

CreateCommand() public method

public CreateCommand ( ) : IDbCommand
return IDbCommand

Dispose() public method

public Dispose ( ) : void
return void

Open() public method

public Open ( ) : void
return void

OrmLiteConnection() public method

public OrmLiteConnection ( OrmLiteConnectionFactory factory ) : System.Data
factory OrmLiteConnectionFactory
return System.Data

Property Details

Factory public_oe property

public OrmLiteConnectionFactory,ServiceStack.OrmLite Factory
return OrmLiteConnectionFactory