I have this piece of code: but I got a compilation error: The method thenApply(Function<? super Boolean,? extends U>) in the type Complet ...
I have this piece of code: but I got a compilation error: The method thenApply(Function<? super Boolean,? extends U>) in the type Complet ...
I have a Class like below I have Create a dynamic expression builder, in some case i need to convert int? to int or getdefaultvalue of int for exam ...
The following is the code: This code is a refactored code that if I break it to its object and property level it would take me repeating it hundred ...
I'm working on a custom linq extension for nHibernate by extending the BaseHqlGeneratorForMethod. The technique is documented here: http://fabiomaulo. ...
Since upgrading from NH 3.0 to 3.1 I've been having some trouble using the following code: This will compile fine but when running it I get an exce ...
I created this helper method using a lambdaexpression to used strongly type helper in a view Helper view Controller my problem is that the M ...
How can I union two criteria with an OR statement? For example I want to get Employee which has null in Birthday field OR value of this field is less ...
I'm trying to create a not in clause with the NHibernate Criteria API using NHLambdaExtensions. Reading the documentation I was able to implement the ...
I'm using NHibernate with Lambda Extensions. I'd like to know how to nest a Max function with a Substring. The following statement retrieves Max("inv ...
I normally query interfaces using DetachedCriteria in NHibernate: And this works fine. I now want to create a subquery for a child object thus: ...
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. ...
This is probably something simple but I seem to be lacking some knowledge of how nhibernate works. This is my code: The resulting error I get is: " ...
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 ...
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, order ...
I want to convert a NHibernate CreateCriteria over to a NHLambdaExtensions criteria, but I'm getting errors that I don't know how to fix. The NHibern ...