C# Class WeenyMapper.ConnectionScope

Inheritance: IDisposable
Mostra file Open project: erikojebo/WeenyMapper Class Usage Examples

Public Methods

Method Description
BeginTransaction ( ) : DbTransaction
ConnectionScope ( IDbCommandFactory dbCommandFactory, DbConnection connection ) : System
Dispose ( ) : void
DisposeConnection ( ) : void
Matches ( ConnectionScope connectionScope ) : bool
Matches ( string connectionString ) : bool

Method Details

BeginTransaction() public method

public BeginTransaction ( ) : DbTransaction
return System.Data.Common.DbTransaction

ConnectionScope() public method

public ConnectionScope ( IDbCommandFactory dbCommandFactory, DbConnection connection ) : System
dbCommandFactory IDbCommandFactory
connection System.Data.Common.DbConnection
return System

Dispose() public method

public Dispose ( ) : void
return void

DisposeConnection() public method

public DisposeConnection ( ) : void
return void

Matches() public method

public Matches ( ConnectionScope connectionScope ) : bool
connectionScope ConnectionScope
return bool

Matches() public method

public Matches ( string connectionString ) : bool
connectionString string
return bool