Can you specify which generator ti use for Id?

Is there a way to specify the name of the generator that should be used for populating the Id? And could this be used to populate all Ids from a single generator so that every Id was unique?


A supplementary question: In the generate entities from database wizard how does it check for sequences? I have set them up, but it doesn't seem to find them.

Using Firebird 3, Delphi Rio

Thanks

You must specify the name of the generator, using the [Sequence] attribute. I never tried but I don't see why you couldn't specify the same generator for all classes. It should work.


The entity generator can't match classes to sequences. You must do that manually.

Thanks. I missed the Sequence attribute