I would like to know the behavior of the following. basically i have a static ISessionFactory, and an application with 10 threads runni开发者_开发知识库ng and each of them would use ISessionFactory.O
I have a simple model, consisting of a document that references one or more article using a reference object (this is because in the domain, we do not own the articles so we can only reference them).
How to do the following join to return Users who have access to a Company given a company id. The problem is there is no explicit relationship using a User objec开发者_运维问答t between UserAccess and
As you know NHibernate 3.2 has native bytecode provider, which has some breaking changes with castle bytecode provider.
I have a question about second level caching with NHibernate and memcache. Suppose the following configuration:
Using NHibernate 3.1 with both SQL Server and Oracle DBs, we need to store a text string that is longer than 4000 characters. The text is actually XML, but that is not important - we just want to trea
I have AssetGroup entity with has a one-to-many relation with Asset entity. There is a Entity base class which overrides Equals and GetHashCode . I am following the example of ch 20 parent child
First of all, I\'m sure there must be a simple solution to this but I just can\'t find it. (Yes, I have googled it)
How do I accomplish a s开发者_Go百科ubquery like \"Select 1\" in NHibernate 3.1.0? In earlier versions, I know we used something like,
Can anyone explain why this query would return 12 companies (it has 12 UserAccessList children) var list = session.QueryOver<Company>()