Getting next sequence value?

Is there a way to get the next sequence value using Aurelius? I'm using a Firebird database and need to get the next value from a sequence.

What do you want to abstract, exactly? The class, the database? Because otherwise you could simply perform the SQL statement that retrieves the next sequence value, using this approach:


https://www.tmssoftware.com/site/tips.asp?s=faq&show=793

Thanks. It is to work with a legacy system where the Key is <ServerId><SequenceValue> where ServerId is unique to the server instance