On Tue, Mar 3, 2009 at 6:15 AM, Flominator <[email protected]> wrote: > some days ago I found out, that Castle doesn't care, if setters, > getters or even whole properties were marked as private. Now I wonder > why all tutorials on the Castle pages don't declare the setters of id > fields as private? Why would anyone want to allow to change the id > from within code?
Stub implementations of a repository needs to set the Id. In-memory implementations too. -- Cheers, hammett http://hammett.castleproject.org/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
