tagged [nhibernate]
nHibernate, No row with the given identifier exists
nHibernate, No row with the given identifier exists I have a mapping along the lines of this. ```
- Modified
- 30 Mar at 03:37
NHibernate Second Level Cache With NHibernate Linq Provider 1.0
NHibernate Second Level Cache With NHibernate Linq Provider 1.0 How to enable NHibernate Second-Level Cache with NHibernate Linq Provider 1.0 ? Second-Level Cache seems to work only with ICriteria usa...
- Modified
- 3 Sep at 18:51
Can .NET 4 ISet<> HashSet<> replace NHibernate Iesi.Collections ISet , HashSet?
Can .NET 4 ISet HashSet replace NHibernate Iesi.Collections ISet , HashSet? Can .NET 4 ISet HashSet replace NHibernate Iesi.Collections ISet , HashSet ? I am using Castle proxy, and NHibernate 3.0 .
- Modified
- 10 Feb at 02:48
Executing Sql statements with Fluent NHibernate
Executing Sql statements with Fluent NHibernate Basically I want to be able to do this: `session.ExecuteSql("...");` I don't need it to map to any entities or return any values. Any suggestions?
- Modified
- 10 Mar at 23:28
Can NHibernate create tables from existing classes automatically?
Can NHibernate create tables from existing classes automatically? I'm very new at this, but I need to create new tables from existing classes without creating them by hand. Can this be done using a to...
- Modified
- 2 May at 23:7
Does Fluent-NHibernate support mapping to procedures?
Does Fluent-NHibernate support mapping to procedures? I've been wondering if it's possible to have Fluent-NHibernate communicate with stored procedures that already exist and assign mapping from the r...
- Modified
- 17 Nov at 20:11
fluent nhibernate - many-to-many relationship mapping on same entity
fluent nhibernate - many-to-many relationship mapping on same entity I am having a problem trying to map out a many-to-many relationship , where both sides of the relationship reference the same entit...
- Modified
- 11 May at 18:14
Fluent NHibernate - Create database schema only if not existing
Fluent NHibernate - Create database schema only if not existing I have an application where I use Fluent Nhibernate to create my database. This far I've been recreating the database schema each time. ...
- Modified
- 31 Jan at 00:30
NHibernate - KeyNotFoundException: The given key was not present in the dictionary
NHibernate - KeyNotFoundException: The given key was not present in the dictionary I have the following block of code which should ultimately update a record which errors on Session.Evict(entity) with...
- Modified
- 26 Oct at 20:26
How to do a NotEqual to in NHibernate
How to do a NotEqual to in NHibernate I have an enumeration of type int in my entity, UserStatus. I want to get all users where the UserStatus Cancelled. So:
- Modified
- 25 Apr at 21:49
How to implement correctly IUserType?
How to implement correctly IUserType? I need to create a [custom type](https://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/mapping.html#mapping-types-custom) for [NHibernate](https://w...
- Modified
- 12 Apr at 09:3
simple QueryOver : Unrecognised method call
simple QueryOver : Unrecognised method call I have a simple QueryOver Number field type is int. This query has a runtime error by this message: > Unrecognised method call: System.Int32:Boolean Equals(...
- Modified
- 16 Aug at 04:57
NHibernate or LINQ to SQL
NHibernate or LINQ to SQL If starting a new project what would you use for your ORM NHibernate or LINQ and why. What are the pros and cons of each. edit: LINQ to SQL not just LINQ (thanks @Jon Limjap)
- Modified
- 10 Sep at 05:7
Difference between deferred execution and Lazy evaluation in C#
Difference between deferred execution and Lazy evaluation in C# Could you please let me know what is the exact deference between deferred execution and Lazy evaluation in C#?These two are used synonym...
- Modified
- 27 Mar at 20:21
Help with QueryOver and WhereExists
Help with QueryOver and WhereExists I have a problem. I have Persons and Cats. Each Person has some Cats (there is a foreign key in Cats that points to the primary key in Persons). Each Cat has an Age...
- Modified
- 4 Mar at 14:50
How to do a case-insensitive string where in NHibernate Linq query?
How to do a case-insensitive string where in NHibernate Linq query? How to do a case-insensitive where in NHibernate Linq query? e.g.
- Modified
- 23 Mar at 03:5
Search text contains with QueryOver
Search text contains with QueryOver I'm trying to do this : but I get this error : Do you have an idea ?
- Modified
- 22 Jul at 15:49
How to delete multiple db entities with Nhibernate?
How to delete multiple db entities with Nhibernate? What is the best practice for this problem? Is there any batching features built-in? Sample code: Thanks in advance.
- Modified
- 8 Dec at 18:50
Is there any Fluent NHibernate book?
Is there any Fluent NHibernate book? Taking into consideration that Fluent NHibernate has been available for some time I thought that there would be a book available already so i search in amazon and ...
- Modified
- 12 Oct at 09:26
Can someone better explain what 'Projections' are in nHibernate?
Can someone better explain what 'Projections' are in nHibernate? As a new user of nHibernate and its utility library, fluent nhibernate, I am trying to learn enough to be dangerous with a good databas...
- Modified
- 23 May at 12:16
NHibernate Transactions on Reads
NHibernate Transactions on Reads I have read the documentation and explanation on why it is highly recommended to use transactions on read operations in NH. However, I still haven't totally "bought" i...
- Modified
- 1 Nov at 15:42
NHibernate vs Entity Framework 6 performance for big number of users
NHibernate vs Entity Framework 6 performance for big number of users I'm building big web application that should communicate with the database very often. I'm wondering what library should I use for ...
- Modified
- 11 Jan at 12:47
Fluent NHibernate entity HasMany collections of different subclass types
Fluent NHibernate entity HasMany collections of different subclass types So everything is working well with the basic discriminator mapping. I can interact directly with entities A and B without any p...
- Modified
- 20 Jun at 09:32
nhibernate, could not resolve property
nhibernate, could not resolve property I have a problem with NHibenate. When I run queryover, I get an error "could not resolve property: User.Name of: MegaOnlineChat.Core.Entities.Message".What am I ...
- Modified
- 17 Oct at 08:52
NHibernate ISet Vs IList
NHibernate ISet Vs IList In most of the NHiberate examples they use an ISET over an IList. I am aware of the basic differences between the two . However, I am unsure why they use an ISet over an IList...
- Modified
- 19 Mar at 15:56