.net - HQL in operator and parameters -


Many instances of the unit require querning NHibernate. I have tried the following code, but it failed with NHibernate's wired NRE incomplete.

  var query = NHibernate session. Composition ("User from where to id (id:");); Query.SetParameterList ("ID", New Guid []); Query.ToList ();  

It looks like a common problem - any suggestions?

Update This only occurs when the array is empty - the question stops.

: Aids will be empty, will not it? You are asking NHibernate to give you users where the id is inside the non-initial array of grids.


Comments