Hello Alex,

You can use Update and Insert = false in your BelongsTo mapped
property attribute. You could then rely on the composite key part
value

On Jun 26, 8:36 am, Alex Bibiano <[email protected]> wrote:
> I have an composite primary key (legacy database) and one of the
> primary key field has a foreign key to another table.
>
> How can I define this with Castle ActiveRecord?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to