On Aug 4, 12:13 pm, Brian Kendig <[email protected]> wrote: > But now this has me completely confused, because instead of making a > method to allow the controller to do "user1.AddFriend(user2)", the > controller instead has to know about the Relationship class, create a > new Relationship object, then call a "userRepository.AddFriend(user1, > user2)" method I'll write. This seems more complicated.
Whups, I'm more confused than I thought. Replace that paragraph with: But now this has me completely confused, because instead of making a method to allow the controller to do "user1.AddFriend(user2)", the controller instead has to know about the Relationship class, create a new Relationship object, then call a "userRepository.AddRelationship (user1, newRelationship)" method I'll write. This seems more complicated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
