After modifying the datamodel a little bit, certain queries started giving me this exception. However, even after reading various forum-threads and blogs, I don\'t understand why this happens in my ca
I have this Fluent NHibernate mapping: public LossMap() { Table(\"losses\"); Id(x => x.Id).Column(\"id\");
I have table in db with fields: Id, Key, Value. I have several identical Key\'s I want to get IQuerable collection of table via NHibernate 3.2.0.4 with distinct by Key.
How do I map NHibernate type to SQL Server\'s TIME type? I\'m using NH 3.2 and map-by-code. public class Schedule
Is there a way to get at runtime the number of calls NHibernate is making to the database? I know I can use the NHibernate profiler (NHProf, http://nhprof.com/) to manually view this count while debu
Lets assume this hierarchy. public class A { public int Id { get; set; } public IEnumerable<B> Children { get; set; }
I am trying to implement some proper NHibernate session management in my console application, but running into some very weird problems. One moment everything seems to be working fine, but randomly, a
I\'m using mapping by code in NHibernate. I got a class with several properties. One of them is not related to any columns in DB but still has getter and setter.
开发者_高级运维Here\'s the code I found in the Nhibernate 3 Beginners Guide to override GetHashCode. I don\'t understand why it uses result * 397. If 397 just a random number he use to generate unique
I am using fluent nhibernate and have this line private static void BuidSchema(NHibernate.Cfg.Configuration config)