nhibernate-3
How to use nhibernate ToFuture query with nhibernte linq
Does ToFuture works with nhibernate linq? If so, how开发者_StackOverflow社区 do you use it?Be carefull ToFuture only works if the database driver supports MulitpleQueries. This is only the case in som[详细]
2023-02-21 00:19 分类:问答NHibernate + WCF + Windows Service and WcfOperationSessionContext class
I have a Windows Service Application in which i create WCF services in it. Oneof the services is data services: add, delete,[详细]
2023-02-19 11:44 分类:问答NHibernate 3 LINQ - how to create a valid parameter for Average()
Say I have a very simple entity like this: public class TestGuy { public virtual long Id {get;set;} public virtual string City {get;set;}[详细]
2023-02-15 13:57 分类:问答Is there a better implementation for SybaseDialect in Version 3.0 of NHibernate?
We have upgraded to NHibernate 3.0 开发者_Python百科with Fluent-NHibernate. In version 2.1.2 we where able to use the SybaseDialect for ASE 12. In version 3.0 SybaseDialect for ASE 12 is not supporte[详细]
2023-02-06 10:52 分类:问答What's new NHibernate in 3.0?
Can anyone link to or list the new feature开发者_开发技巧s of NHibernate 3.0?Jason Dentlers book is good start for NHibernate 3[详细]
2023-02-04 00:24 分类:问答In C#, why can't I access this stream?
I got this block of code from the NHibernate 3 Cookbook (an excellent book, btw), and while I couldn\'t find anyting in the errata about it. I\'m getting the error \"Cannot access a closed stream\":[详细]
2023-02-03 03:20 分类:问答Syntax error on multi query in NHibernate 3 and MySQL
I used to be able to run the following code as a multi query in NHibernate 2.1 using MySQL var total = new LeagueInfoQuery { Count = true, User = CurrentUser }.CreateCriteria(session).FutureValue<[详细]
2023-01-28 23:34 分类:问答NHibernate 3.0 beta1 Bidirectional One-To-Many Cannot Add Child Object
In short, the problem is that, when add child object to the collection property of the parent object without explicit setting the parent property of the child object, the insert will fail. Let\'s take[详细]
2023-01-20 05:22 分类:问答upgrade to NHibernate 3.0.0.1002, Table is not mapped
Yesterday, I upgraded my NHibernate application from 1.2 to 3.0. I get the following exception c.SubContractors is not mapped [SELECT count(distinct c) FROM CallUp c, c.SubContractors sc Where sc.id[详细]
2023-01-18 06:10 分类:问答NHibernate & WCF in version 3.0
I\'ve just started a new project which requires a WCF service to handle a distributed environment. I\'m still trying to find the best way to implement things.[详细]
2022-12-25 08:03 分类:问答