Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
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
Afficher le fichier
Open project: Core-Techs/Common
Méthodes publiques
Méthode
Description
DisconnectionScope
(
IDbConnection
connection
) :
System
Dispose
( ) :
void
Method Details
DisconnectionScope()
public
méthode
public
DisconnectionScope
(
IDbConnection
connection
) :
System
connection
IDbConnection
Résultat
System
Dispose()
public
méthode
public
Dispose
( ) :
void
Résultat
void