linq-to-nhibernate
equivalent of hql coalesce in linq-to-nhibernate
Supposing I have the following hql: select cast(coalesce(sum(c.Valoare), 0) as decimal) from Comision as c[详细]
2023-02-18 12:29 分类:问答Success with WCF Data Services (OData) with NHibernate?
I\'m working on a CQRS-style system with commands processed with NSericeBus and queries provided through a read-only OData feed.[详细]
2023-02-17 11:29 分类:问答nhibernate parameters binding order potential bug?
i am using latest nhibernate 3, my query: iqt = rps.Terminals.GetQuery().Where(x => x.NetProtocol.Id == 4);[详细]
2023-02-17 11:01 分类:问答NHibernate 3.0 - Only one expression can be specified in the select list when the subquery is not introduced with EXISTS."
We are trying to upgrade to NHibernate 3.0 and now i am having problem with the following Linq query. It returns \"Only one expression can be specified in the select list when the subquery is not intr[详细]
2023-02-15 02:28 分类:问答Good behaviour for eager loading multiple siblings and grandchildren (cousins?) in NHibernate 3.0 Linq
I\'m trying to do the following with NHibernate 3.0\'s LINQ interface. I want to query for an object (using some Where clause), and load some children and grandchildren. Cu开发者_C百科rrently I\'m doi[详细]
2023-02-14 02:33 分类:问答How to convert the following query over to linq?
I\'m new to nhibernate 3.0: I got 3 objects (not code just description) class a{ prop b; } class b{ prop c[详细]
2023-02-13 22:56 分类:问答LINQ to NHibernate expressions on List<>
I\'m using LINQ to NHibernate, and have a model that looks something like this (simplified): public class Person {[详细]
2023-02-11 12:32 分类:问答Mapping and Querying UserTypes - Nullable in DB to Not-Nullable in Domain
I have a legacy app with a nullable DateTime column in the database -- a NULL value is used to represent +Infinity. My app uses a fairly standard NHibernate + DDD setup, including Fluent-NHibernate an[详细]
2023-02-11 11:04 分类:问答Getting count with NHibernate + Linq + Future
I want to do paging开发者_运维百科 with NHibernate when writing a Linq query. It\'s easy to do something like this:[详细]
2023-02-10 04:37 分类:问答Translate this Sql query into NHibernate Linq or Criteria?
I have a security schema where certain entities are secured by having a SecureEntity reference. A SecureEntity has a collection of RolePermissions, each of which has an Allow flag and a Priority. The[详细]
2023-02-07 19:07 分类:问答