C# Класс PRI.ProductivityExtensions.IDbConnectionExtensions.IDbConnectionable

Показать файл Открыть проект

Открытые методы

Метод Описание
SafeClose ( this toClose, bool dispose = false ) : void

A safe close routine for a database connection, which can also dispose the connection, if required.

Описание методов

SafeClose() публичный статический Метод

A safe close routine for a database connection, which can also dispose the connection, if required.
public static SafeClose ( this toClose, bool dispose = false ) : void
toClose this the connection to close
dispose bool if set to true, it will also dispose the connection.
Результат void