You can register your own custom extensions for QueryOver:

https://github.com/nhibernate/nhibernate-core/blob/master/src/NHibernate/Impl/ExpressionProcessor.cs#L152-154

I think perhaps, though, that the core problem is that you'll need your own query-objects to wrap up dynamic querying behaviour without referencing NH. You could take a look at this and see if it helps at all:

http://fabiomaulo.blogspot.com/2010/07/enhanced-query-object.html


-----Original Message----- From: Raul Carlomagno
Sent: Friday, November 04, 2011 6:19 PM
To: nhusers
Subject: [nhusers] Re: IsLike extension method

ive already tried it, it did not work
thanks anyway

On Oct 31, 8:18 pm, [email protected] wrote:
Maybe this can help:

http://fabiomaulo.blogspot.com/2010/07/nhibernate-linq-provider-exten...

In this case you can separate the Extension from the NH stuff. But i don't
know,
if there is such an integration point for the QueryOver API.

Am schrieb Raul Carlomagno <[email protected]>:







> im abstracting my layers, todayć„€ dal is composed of nh repositories,
> and i need another dal, built with ef repositories
> also, this way, i can unit test my application layer classes without
> worry about nh, ef, or whatever mi repositories are built with,
> included mock repositories
> On Oct 31, 11:27 am, mynkow [email protected]> wrote:
> > Offtopic: What is the difference between nhibernate and repository?
> --
> 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.

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

Reply via email to