Since upgrading from NH 3.0 to 3.1 I\'ve been having some trouble using the following code: criteria = session.CreateCriteria<User>()
I created this helper method using a lambdaexpression to used strongly type helper in a view Helper 开发者_如何学Cpublic static string DateFor<TModel, TDate>(this HtmlHelper<TModel> he
I\'m using NHibernate with Lambda Extensions. I\'d like to know how to nest a Max function with a Substring.
I normally query interfaces using DetachedCriteria in NHibernate: DetachedCriteria crit = DetachedCriteria.For<IParent>();
I\'m trying to write a simple query that requires an alias as it\'s a Many-To-Many assocation however I can\'t get it to work with NH Lambda Extensions. It always gives me a compile error even though
My application creates a dynamically generated query at runtime based on user input by creating Criterion objects e.g:
I\'ve got a Criteria Query for a social networking site.A Person object has a collection of Friends (also person objects).The query grabs the first N friends, but I also want to eager load an associat
I have a entity \'Person\' a person has a collection of Friends (also Person entities) I want to get the first 10 Friends of a particular person, ordered by LatestLogin.