Already found it but it's very old.
Aren't there any changes?

2010/7/18 Mauricio Scheffer <[email protected]>

> This article covers IActiveRecordQueries: http://lindelauf.com/?p=19
> Also implementing IActiveRecordQuery is LinqQuery<T>
>
> Cheers,
> Mauricio
>
> On Jul 18, 8:03 am, omer katz <[email protected]> wrote:
> > Hello,
> > For some reason EnumerateQuery is not documented so I don't really get
> what
> > should I pass as a parameter.
> > I know that FindAll gets a DetachedCriteria and returns an array but
> > EnumerateQuery gets IActiveRecordQuery which is also undocumented as far
> as
> > I can tell and returns an IEnumarable like I need.
> > My system doesn't always work with databases directly, the Repository
> might
> > also access a web service or a flat file.
> > I would like to have a fetch function that excepts any kind of query and
> > returns an IEnumarable<T>.
> > For that purpose I need to understand what IActiveRecordQuery does, how
> can
> > I incorporate a DetachedCriteria with it and how can my fetch function
> can
> > be generalized to accept ActiveRecord queries or not.
> >
> > Thank you,
> > Omer.
>
> --
> 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]<castle-project-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/castle-project-users?hl=en.
>
>

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

Reply via email to