예제 #1
0
        private void Dispose(bool ADisposing)
        {
            if (!m_Disposed)
            {
                // wenn true, alle managed und unmanaged resources mussen aufgelegt werden.
                if (ADisposing)
                {
                    //nix zu machen in moment
                }

                if (null != m_Database)
                {
                    m_Database.Close();
                    m_Database.Dispose();
                }

                m_Database = null;
            }

            m_Disposed = true;
        }
예제 #2
0
 public Storage()
 {
     m_Database = new Database();
     m_Database.Open();
 }