Hey guys, in trying to build the NHibernate.Search (rev 539) from
Contrib against the current NHibernate trunk (rev 3754, built with C#
3.5 SP1), I got the following compile error in the
LuceneQueryExpression class:
'NHibernate.Impl.CriteriaImpl' does not contain a definition for
'CriteriaClass' and no extension method 'CriteriaClass' accepting a
first argument of type 'NHibernate.Impl.CriteriaImpl' could be found
(are you missing a using directive or an assembly reference?)
Here's the offending code:
private static System.Type GetCriteriaClass(ICriteria
criteria)
{
CriteriaImpl impl = criteria as CriteriaImpl;
if (impl != null)
return impl.CriteriaClass;
return GetCriteriaClass(((CriteriaImpl.Subcriteria)
criteria).Parent);
}
So it looks like the CriteriaClass property has gone away from
CriteriaImpl class.
Can anyone advise on how to fix/work around this?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---