I\'m using NHibernate to query a table that has tuples in the format: (String, Int?), where the integers can be null. So, I want to group my results by number and then sort alphabetically. I can easil
I use NHibernate with Fluent NHibernate and register a Eventlistener of type SaveOrUpdate. private static ISessionFactory CreateSessionFactory()
I have one application which uses NHibernate to save entities to a database, and it uses the HiLo generate of NHibernate to create the id\'s. I have another application which I need to save data to th
Question: How can I store a 128 bit integer (IPv6) with nHibernate ? 开发者_运维技巧Especially on Firebird, where the BigInteger MAX size is 2^64 .
Object Structure: A house has many rooms. A room has many tables. A table has many vases (on it). House > Rooms > Tables > Vases.
I cant get at One-to-One relationship working with Fluent NHibernate. I haveUser and UserDetails tables and they \'share\' a primary key. How do I map them?
Took me a while to find an answer for t开发者_StackOverflowhis so thought I\'d share the love. When using NHibernate\'s new mapping by code with SQL Server I\'m unable to save an entity. When savin
I hava a datatable with large amount of data (250K). I have used DevExpress component and nhibernate. In devexpress components is server mode, but it does not suit me because I am using nHibernate.
I\'m trying to bulk-update entities using a StatelessSession. Because it\'s stateless, NHibernate doesn\'t auto-cascade child entities upon save.
How can I use Fluent NHibernate (with AutoMappin开发者_高级运维g) to configure the default ID generation scheme to Guid.Comb?I can see that I could specify in each entity (or a base class) the followi