Esempio n. 1
0
        public void Destroy()
        {
            //2 Reasons to comment the lines below

            //1) No Need of this because at the end we delete the file.
            //2) In Case of esent session violation exception occurs

            _metadataPersister.DropCollection(GetLasRowIdCollection());
            _metadataPersister.DropCollection(GetKeyMetadataCollection());

            //Do not remove FileMetadata as it is related to main DB files and is common (only to be removed on databaseRemoval)
            //_metadataPersister.DropCollection(GetFileMetadataCollection());
            //throw new System.NotImplementedException();
        }