C# 클래스 PRI.ProductivityExtensions.IDbConnectionExtensions.IDbConnectionable

파일 보기 프로젝트 열기: peteraritchie/ProductivityExtensions

공개 메소드들

메소드 설명
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