Azavea.Open.DAO.SQL.SqlDaDdlLayer.DeleteSequence C# (CSharp) Method

DeleteSequence() public method

Removes a sequence. Some data sources may not support sequences, in which case this method should be a no-op. If the data source supports sequences, but support for deleting them is not yet implemented, this should throw a NotImplementedException. If there is no sequence with the given name, this should be a no-op.
public DeleteSequence ( string name ) : void
name string Name of the sequence to delete.
return void
        public virtual void DeleteSequence(string name)
        {
            if (SequenceExists(name))
            {
                SqlConnectionUtilities.XSafeCommand(_connDesc, "DROP SEQUENCE " + name, null);
            }
        }