First of all, please forgive me for my vocabulary is a little limited with NHibernate so I might call something the wrong thing...here is my question:
I have a query in my MVC application which takes about 20 seconds to complete (using NHibernate 3.1). When I execute the query manually on Management studio it takes 0 seconds.
When using the Transaction() attribute on a method the default isolation level is ReadCommitted.What I want to do is set the default isolation level to ReadUncommitted in the Spring.NET config ( so as
I have the following database setup: I need a nhibernate file that maps it to: PowerPrognosisUsageSubmission class
I am attempting to store files in an SQL se开发者_高级运维rver database using the filestream column type and nHibernate.
How can I map a collection property of a concrete class, not an interface? It\'s got to be concrete class! I have no control over the class I want to map, so I can\'t change to interface.
I am really confused on a report I need. As of today, most of my reports were simple, so I was able to do them myself easily. But being a newbie in sql/dlinq, I cannot find my way through the followin
I am writing an application and I finally have it saving to the database correctly. 开发者_C百科 However, I have a few problems and was wandering if someone could help point me in the right direction.
I have 3 classes that I\'m trying to map using fluent nHibernate, but I\'ve hit a wall. I have a collection in class A that refers to class B, B also has a reference to A. So that is a Many-to-one rel
I\'m trying to create a SQL query in NHibernate using CreateSQLQuery: var query = session.CreateSQLQuery(