queryover
Using Linq (nHibernate) to perform a Case statement with Counts
I\'m sure this is one has done the houses a few times but i\'ve never found a solution... So is it possible to do something like this using nHibernate 3 with prefer开发者_开发知识库ably Linq:[详细]
2023-02-19 07:09 分类:问答NHibernate using QueryOver with WHERE IN
I would create a QueryOver like this SELECT * FROM Table WHERE Field IN (1,2,3,4,5) I\'ve tried with Contains method but I\'ve encountered the Exception[详细]
2023-02-19 01:41 分类:问答How select referenced entity in nhibernate queryover
I Have a entity with a property referencing other entity (ReferenceEntity in examples). With HQL i can do this:[详细]
2023-02-18 08:06 分类:问答Nhibernate + QueryOver: filter with Where ignoring sensitive
I am trying to build a simple query in nHibernate with QueryOver but I want it to convert everything lower-case or ignore sensitive:[详细]
2023-02-16 04:56 分类:问答specifying fetch strategy (select, join, etc) in nhibernate queryover query
I am trying to create a query using QueryOver, which will fetch a collection using the Select开发者_JAVA技巧 or SubSelect mode.The entity in question is Track.I want to load a collection called TrackP[详细]
2023-02-15 21:02 分类:问答NHibernate lazy loading nested collections with futures to avoid N+1 problem
I have an object model that looks like this (pseudo code): class Product { public ISet<Product> Recommendations {get; set;}[详细]
2023-02-15 06:02 分类:问答Delete with QueryOver?
I would like to improve my code when deletinga group of objects in NHibernate (V3). Currently, I iterate on a retrieved collection and I call delete on each object. This generates n+1 SQL statements.[详细]
2023-02-14 20:04 分类:问答NHibernate QueryOver: Disjuction with restriction in join
I would like to OR-combine two restrictions, one related to the parent, one related to the child. I have the following code:[详细]
2023-02-14 18:57 分类:问答How to do this in nhibernate queryover
I need to do this in nhibernate QueryOver: select distinct sc.* from [Security].[Commands] sc inner join [Security].[SystemSubjects] ss on ss.Id = sc.Id[详细]
2023-02-12 17:45 分类:问答How to build () => x.prop lambda expression dynamically?
I have code like Depar开发者_如何学运维tmentPaperConsumption dto = null; then later i have NHibernate QueryOver result, and i want to order it[详细]
2023-02-07 14:24 分类:问答