What are the challenges you face when working across database platforms? Take the survey
Options

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.

Answers

Sign In or Register to comment.