Great, I will do that. Thank you! On Mon, Apr 25, 2011 at 12:23, Greg Young <[email protected]> wrote: > Just general OO code. Whether you use a repository or not is a > separate discussion. > > If you use one, the interface should be in the domain model and the > implementation points back to the interface. You then use it via the > interface within the domain model. > > On Mon, Apr 25, 2011 at 11:21 AM, Pablo Romano <[email protected]> wrote: >> thank you, that should work, I thought I had some design flaw, didn't >> know that was the standard way, thank you again! >> >> >> On Mon, Apr 25, 2011 at 12:13, Greg Young <[email protected]> wrote: >>> use an interface? >>> >>> On Mon, Apr 25, 2011 at 11:12 AM, Pablo Romano <[email protected]> >>> wrote: >>>> Hi, I've a rookie question maybe someone can help me. >>>> Sometimes I need to query a business object from another business >>>> object (i.e. a Cat that needs all the Dogs born in the same day it >>>> was), I'm using the repository pattern so all the querying is done >>>> there and that class is in it's own module referencing the business >>>> module, so, it can't be referenced by business..., what I'm doing >>>> wrong? >>>> >>>> Thanks in advance, >>>> Pablo >>>> >>>> -- >>>> You received this message because you are subscribed to the Google Groups >>>> "nhusers" 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/nhusers?hl=en. >>>> >>>> >>> >>> >>> >>> -- >>> Les erreurs de grammaire et de syntaxe ont été incluses pour m'assurer >>> de votre attention >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "nhusers" 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/nhusers?hl=en. >>> >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "nhusers" 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/nhusers?hl=en. >> >> > > > > -- > Les erreurs de grammaire et de syntaxe ont été incluses pour m'assurer > de votre attention > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" 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/nhusers?hl=en. > >
-- You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en.
