How can we help you today? How can we help you today?

Custom generator for primary key column

I built a custom generator that returns guid values. I am able to use the generator for non-primary key columns. However, the generator does not appear in the GUI dropdown for the primary key column. Is this the intended behavior?

The table has a self-referencing foreign key which is used to build a tree structure. I want to store the values generated for the primary key column in a static class and reference them in another custom generator to built the tree structure.
Alex Adams
0

Comments

1 comment

  • Alex754
    Figured it out. Generator must implement IUniqueableGenerator to appear for PK/AK columns.
    Alex754
    0

Add comment

Please sign in to leave a comment.