save and return value of auto increment field?

with elevatedb i implement sequence as table with one auto generated field, the problem is that the code : 

  obj:= TMySequence.Create;;
does not work , i should add new field to the table and assign value for the object so the code working well, any comment about how to implement and return the sequence value with table that have one auto increment field or i should add field for the table?

How is your mapping of TMySequence? If you set [Id] with generator identityorsequence, Aurelius will do all the job for you and retrieve the generated id in the obj.Id property.