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; }
public Storage() { m_Database = new Database(); m_Database.Open(); }