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

DeleteSequence() public method

Removes a sequence. NOTE: This data source creates seuqences on the fly when they are accessed, so this will have the effect that the next access of the sequence will get a "1" rather than the current next value.
public DeleteSequence ( string name ) : void
name string Name of the sequence to delete.
return void
        public void DeleteSequence(string name)
        {
            lock (_sequences)
            {
                if (_sequences.ContainsKey(name))
                {
                    _sequences.Remove(name);
                }
            }
        }