Is Identity / Sequence Field - Usage

Posts   
 
    
ianvink
User
Posts: 394
Joined: 15-Dec-2006
# Posted on: 10-Aug-2007 18:20:04   

I have an entity which the PK is calculated on the fly by the application.

Given that, should I check the "Is Identity / Sequence Field" box and leave the "Sequence used" drop down empty, or just not check anything.

Child object relationships are based on that PK as their parent.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 10-Aug-2007 18:29:35   

If the application calculates the PK, you don't need to set IsIdentity neither Sequence. If you associate entity childs to their parent and save recursively, childs will obtain such ID.

David Elizondo | LLBLGen Support Team