Just a quick question about using Castle ActiveRecord. Lets say you
have two AR classes, List and Item. A list has many items, and a item
always belongs to one 1 list.

In the UI, the user can add or delete items and then decide to save
the new list. So the new values to save can contain updated items or
new items.

My question is: what is the best way to save the items? Currently I
delete all the current items (the ID's aren't used, so it doesn't
matter they are lost) and save every single item seperatly. Today I
realized I can also put all items in a new list, and assign it to the
List.Items property, and then save the list (ofcourse with the right
Cascading set). Is there any difference in performance?

-- 
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