Property names are always hardcoded, it doesn't matter if they are
compiled/understood by NHibernate or C#.
Resharper even supports renames in strings, if that's your concern.

    Diego


On Wed, Aug 11, 2010 at 10:47, marek <[email protected]> wrote:

> Hi,
>
> > which is the reason because you want use Criteria ?
>
> Because of future refactoring.
> In future I would like to use QueryOver feature of NH 3.0 to not
> hardcode property names.
> And it will be easier to upgrade from ICriteria query to QueryOver.
>
> Thanks,
> Marek
>
> --
> 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]<nhusers%[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