Another reason for using Criteria API is Resharper and intellisense.
On Dec 19, 9:30 am, "Fabio Maulo" <[email protected]> wrote:
> interesting point.... no hardcoded strings but no problem with hardcoded
> query with hardcoded usage of cache and hardcode cache region without the
> ability to optimize it using SQL (without touch the code that are using the
> query).Very interesting point...
>
> 2008/12/19 alex <[email protected]>
>
>
>
>
>
> > We're trying to avoid using hardcoded strings. Even property names
> > we're resolving through Reflection.
>
> > Please let me know if there is a way to use Criteria API in this case.
>
> > On Dec 19, 8:55 am, "Fabio Maulo" <[email protected]> wrote:
> > > 2008/12/19 alex <[email protected]>
>
> > > > Yeah, but how to do this using ICriteria?
>
> > > For what ?
> > > Which is the reason to use Criteria API here ?
> > > --
> > > Fabio Maulo
>
> --
> 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
-~----------~----~----~----~------~----~------~--~---