Azavea.Open.DAO.Memory.MemoryDaLayer.DeleteSequence C# (CSharp) 메소드

DeleteSequence() 공개 메소드

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.
리턴 void
        public void DeleteSequence(string name)
        {
            lock (_sequences)
            {
                if (_sequences.ContainsKey(name))
                {
                    _sequences.Remove(name);
                }
            }
        }