NLite.Data.ConnectionHost.Close C# (CSharp) Method

Close() private method

private Close ( ) : void
return void
        void Close()
        {
            if (!HasSelfCreateConnection) return;
            if (connection != null
                && connection.State != ConnectionState.Closed
                /* && connection is ConnectionWrapper*/)
            {
                try
                {
                    connection.Close();
                }
                catch { }
                connection.Dispose();
                connection = null;
            }
        }
ConnectionHost