in this case MyCriteria and MyAnotherCriteria is not the nh criteria [?]

2009/9/7 Fabio Maulo <[email protected]>

> 2009/9/7 José F. Romaniello <[email protected]>
>
>> Another question.. With the Dao pattern, where do you put your queries or
>> your FindByNameAndPostalCodeAndLastNameAndAddress?
>>
>
> In a QueryObject.
>
> Retrieve(MyCriteria criteria)
> Retrieve(MyAnotherCriteria criteria)
>
> Paginate(MyBigCriteria criteria)
> Paginate(MyAnotherBigCriteria criteria)
>
> each DAO may have or may not the ability to do it.
>
> Perhaps I should post my thought about this matter.
> --
> Fabio Maulo
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

<<inline: 330.gif>>

Reply via email to