Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
CoreTechs
Common
Database
DisconnectionScope
C# Class CoreTechs.Common.Database.DisconnectionScope
Closes the connection on construction if it's not already closed. On disposal, the connection will be opened if it was open before construction.
Inheritance:
IDisposable
ファイルを表示
Open project: Core-Techs/Common
Public Methods
Method
Description
DisconnectionScope
(
IDbConnection
connection
) :
System
Dispose
( ) :
void
Method Details
DisconnectionScope()
public
method
public
DisconnectionScope
(
IDbConnection
connection
) :
System
connection
IDbConnection
return
System
Dispose()
public
method
public
Dispose
( ) :
void
return
void