There's a number failing so it seems something pretty fundamental has
got screwed up. Some examples are:
1)
base.Query<IConfiguration>().FirstOrDefault();
2)
var serialsFound =
from newSerial in base.Query<ISerial>()
where newSerial.SerialId == serial.SerialId
select serial;
if (serialsFound.Count() >= 1) etc.
3)
var readers = from reader in base.Query<IBladeReader>()
where reader.Monitor.PhysicalAddress == server
select reader;
All these call a base repository IQueryable<T> Query<T>() method. This
method wraps the Session.Linq<T> extension, i.e:
public IQueryable<T> Query<T>()
{
return Session.Linq<T>();
}
They have all worked fine for a while but suddenly have started
failing and I can't track down what's changed to cause this. It's not
mapping files as, when I change to HQL, everything works correctly. If
you have any ideas what can cause this NH-Linq exception, I may be
able to work out what's gone wrong somewhere.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---