nhlambdaextensions
NHibernate 3.1: MissingMethodException when calling LambdaExtensions
Since upgrading from NH 3.0 to 3.1 I\'ve been having some trouble using the following code: criteria = session.CreateCriteria<User>()[详细]
2023-02-21 05:37 分类:问答ASP.Net MVC - Helper lambdaexpression post action
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[详细]
2023-02-19 22:58 分类:问答How to render Max(Substring) with Lambda Extensions
I\'m using NHibernate with Lambda Extensions. I\'d like to know how to nest a Max function with a Substring.[详细]
2023-01-01 12:57 分类:问答Using an interface for a subquery in NHibernate
I normally query interfaces using DetachedCriteria in NHibernate: DetachedCriteria crit = DetachedCriteria.For<IParent>();[详细]
2022-12-28 03:36 分类:问答NHibernate Lambda Extensions can't use any alias query on DetachedCriteria
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[详细]
2022-12-23 03:39 分类:问答NHLambdaExtensions: Create a Criterion object to add to ICriteria later
My application creates a dynamically generated query at runtime based on user input by creating Criterion objects e.g:[详细]
2022-12-12 13:00 分类:问答NHibernate Lambda Extensions - Eager Loading a collection's assosciations
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[详细]
2022-12-10 23:56 分类:问答NHibernate Lambdas joined ordered collection
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.[详细]
2022-12-10 07:31 分类:问答