C# Class Crow.Library.DatabaseLayer.DbConnectionScope

Creates a new shared database connection.
Inheritance: IDisposable
ファイルを表示 Open project: msusur/Crowfx Class Usage Examples

Public Methods

Method Description
DbConnectionScope ( ) : System

Starts a new connection thread-safe and allows every repository uses the same connection within same scope.

Dispose ( ) : void

Disposes the current connection.

Method Details

DbConnectionScope() public method

Starts a new connection thread-safe and allows every repository uses the same connection within same scope.
public DbConnectionScope ( ) : System
return System

Dispose() public method

Disposes the current connection.
public Dispose ( ) : void
return void