|
Are you sure that there's no business key? How about this: if a Shareholder can make only one Movement at a time, you have your business key: Shareholder + Movement datetime.
If you absolutely, positively cannot come up with a business key, your options include (and are not limited to):
1) Change the generator to assigned, and use the primary key as the business key (icky, but as this is a lifecycle-dependent child object, less icky than it usually would be).
2) Change the set to a list, and use the list index as the business key. This one has the advantage that the list index has proper business meaning: this Movement is this Shareholders 73rd transaction, etc.
|