This topic always is confused, but, ayende's explanation is the best..! ----- Original Message ----- From: Ayende Rahien To: [email protected] Sent: Wednesday, September 09, 2009 10:33 AM Subject: Re: Explanation of the Inverse Property
http://nhprof.com/Learn/Alert?name=SuperfluousManyToOneUpdate On Wed, Sep 9, 2009 at 7:30 PM, Chris Sims <[email protected]> wrote: I am trying to gain a better understanding of how Castle ActiveRecord works. I have a working knowledge of when to use the Inverse=true property, but am not completely certain what it does. The user manual is a bit vague explaining this property. When it says a "relation is writable" what does that mean? It seems that when I don't use the Inverse=true I can write records to a related table with the foreign key remaining null. But when I use the inverse property, I am not certain when to use the .Create function in properly saving the code. In the past couple projects I have written, I usually end up iterating through an IList and running the .Create function on each member...can this be done in bulk with proper use of the Inverse property? Sorry for such a newbie question, but I really am wanting to expand my understanding of AR as I have really liked using the framework. Thank you, Chris Sims --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
