Maybe having a User base class and let Employee and Customer inherit that one helps?
On Fri, Jun 19, 2009 at 8:23 PM, schlachtzeuger <[email protected]>wrote: > > Hi Ayende! > > you stated that User is an external concept. so if i build a domain i > would for example let my Employee entity implement the IUser > interface. but what if the Customer entity in my domain is also a > User? How would you model this scenario? > > Thx > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" 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/rhino-tools-dev?hl=en -~----------~----~----~----~------~----~------~--~---
