Azavea.Open.DAO.Memory.MemoryDaLayer.DeleteStoreRoom C# (CSharp) Method

DeleteStoreRoom() public method

Deletes the store room specified in the connection descriptor. NOTE: This data store will create the store room on the fly when accessed, so this method is effectively the same as just deleting all the records.
public DeleteStoreRoom ( ClassMapping mapping ) : void
mapping ClassMapping ClassMapping for the data that was stored in this room.
return void
        public void DeleteStoreRoom(ClassMapping mapping)
        {
            lock (_datastore)
            {
                if (_datastore.ContainsKey(mapping.Table))
                {
                    _datastore.Remove(mapping.Table);
                }
            }
        }