DataAccessFramework.SqlExpressDataTool.Dispose C# (CSharp) Method

Dispose() protected method

Disposes the current instance, closing the connection.
protected Dispose ( bool disposing ) : void
disposing bool
return void
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_transaction != null)
                    _transaction.Dispose();
                _connection.Close();
            }
        }