Expression.Eq from 1.2 is now Restrictions.Eq in 2.0+
there's a migration document.
can't recall it's location off the top of my head. try googling for
"Migrating NHibernate 1.2 to 2.0"
On Fri, Oct 17, 2008 at 10:10 AM, NHibernate group <[EMAIL PROTECTED]>wrote:
>
> Hi,
>
> I have migrate my project from 1.2 to 2.0 NHibernate.
>
> Is
>
> NHibernate.Criterion.Expression.Eq("Enabled", (System.Int16)0)
>
> equal to
>
> NHibernate.Criterion.SimpleExpression("Enabled", (System.Int16)0, "=")
>
> ??
>
> Thanks for your help !
>
> Papy !
>
> >
>
--
Ken Egozi.
http://www.kenegozi.com/blog
http://www.musicglue.com
http://www.castleproject.org
http://www.gotfriends.co.il
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---