Trouble when trying to use Nhibernate.Linq -


After

I am trying to apply Nhibernate.Linq 1.0.0.4000 together with Nhibernate 2.1.2.4000. After what I've read, there should be a straightforward process - just add a reference to Nhibernate.Linq and then start to query Session.Linq & lt;> .. .. ..

So .. in my store I have a Very added simple query:

  var query = (_session.Linq in L; User & gt; () Select L); Return query. Toolist ();  

However I go into an error which I do not understand. The error message is:

{"Entry Point was not found.": ""}

NHibernate.Linq.NHibernateQueryProvider at NHibernate.isession.get_SessionFactory () TranslateExpression (expression) NHibernate.Linq.NHibernateQueryProvider.Execute (expression) in NHibernate.Linq.Query 1.GetEnumerator () 1.get_Items (on System.Linq.SystemCore_EnumerableDebugView)

Initially I thought. This mapping with me configure and Fluentnhibernate, but after bringing back to vanilla config and mapping, I still could be related to a problem

I should switch over linq- query equal Aisiartiria, it works like a charm.

Has this happened to someone else? Do you have a solution?

TIA // Marcus

I believe that you are Using the wrong construction of NHibernate.Linq.

It's the person you should download.


Comments