Hi,

On 2 Sep., 20:09, Morten Brix Pedersen <[email protected]> wrote:
> I read Ayendes great post on NHibernate 
> filters:http://ayende.com/Blog/archive/2009/05/04/nhibernate-filters.aspx
>
> But is there a way to use the filters with Castle ActiveRecord? I can
> enable filters using sesionScope.GetSession().EnableFilter(), but
> there seems to be no way to define a filter on an ActiveRecord.

To answer my own post - I got filters working neatly using Castle
ActiveRecord, I posted an example on stackoverflow:

http://stackoverflow.com/questions/1358744/nhibernate-creating-a-criteria-which-applies-for-all-queries-on-a-table/1375961#1375961

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