ForeignKeyConstraint property changes: UpdateRuleAction, DeleteRuleAction, TrackedChanges

Posts   
 
    
hotchill avatar
hotchill
User
Posts: 180
Joined: 22-Jan-2007
# Posted on: 05-Apr-2015 12:12:04   

Hi.

I am on version 4.0 Final using adapter.

I see a strange behaviour in the designer file. ForeignKeyConstraint properties of target-per-entity hierarchy FKs change back and forth. I can see it using source control diff tool as shown in the attached image.

Is the designer changing to the default values? When I check-in another time, the properties may be gone. I don't know what I am doing to cause it.

Attachments
Filename File size Added on Approval
2015-04-05_12-03-36.png 14,494 05-Apr-2015 12:12.25 Approved
daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 06-Apr-2015 07:31:04   

These properties are controlled per-relationship basis. If you are on Database-First, they are pulled from your FK metadata at your DB. If you are on Model-First, they are controlled by Project Settings / Designer Preferences. You also can right-click a relationship and click 'Edit' then you can change those. So, IMHO, some process (change in your DB, change in your model, a plugin, or something else) must be changing them. More info on the documentation.

Also, make sure you don't mention the exact LLBLGen Designer will that you are using. Make sure that you are using the latest, as a fix was made about this some time ago on v4.0: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=22049&StartAtMessage=0&#124384

David Elizondo | LLBLGen Support Team