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

CreateSequence() public method

Ensures the sequence exists. NOTE: It is not necessary to call this method, as this data store creates sequences on the fly when they are first accessed.
public CreateSequence ( string name ) : void
name string Name of the new sequence to create.
return void
        public void CreateSequence(string name)
        {
            lock (_sequences)
            {
                if (!_sequences.ContainsKey(name))
                {
                    _sequences[name] = 1;
                }
            }
        }