nhibernate-mapping
Changing the Nhibernate entity to point to new table
I am using FLH and recently I changed the name of the table. I dont want to propagate the changes all the way across my layers. Is there a way, where I can retain the same entity name and just change[详细]
2023-04-08 06:20 分类:问答How concurrency implementation in Nhibernat 3.1
I have a project by nhibernate 3.1 . I need to concurrency implementation in project. I Add \"Version\" to hbm file :[详细]
2023-04-07 16:00 分类:问答Error when creating a one-to-many association at runtime with NHibernate?
I have situation where a few parts of my entity model is known only at runtime. In order to create queries in a simple way I\'d like to add a simple one-to-many association on items referencing them b[详细]
2023-04-06 16:30 分类:问答How can I map a UInt64 field to a decimal(20, 0) column using Fluent nHibernate?
I\'m using MS SQL Server 2008R2 Fluent nHibernate 1.3 nHibernate 3.2 I have a UInt64 field in my domain that potentially takes up the entire UInt64 range. Since MS-SQL doesn\'t support unsigned in[详细]
2023-04-06 10:53 分类:问答NHibernate mapping message logic
I made some classes that represents my messages logic: Message - representation of THE message :) MessageBoxBase - base class for all 3 kind of messagebox[详细]
2023-04-05 17:37 分类:问答Two way one-to-many association in NHibernate
With NHibernate, how do I make both user.AddPost(post) and post.setAuthor(user) behave the same way? Here are my classes:[详细]
2023-04-05 01:56 分类:问答Collection of components - does it make sense?
I\'m using NHibernate for some time and pretty often, when I need to map parent-child collection in which the children are fully dependent from its parent, I map these associations as collection of co[详细]
2023-04-05 01:07 分类:问答Problem loading an object with 2 properties of the same class with NHibernate after saving from previous session
I have a Device class that I have defined that has 2 properties, LocalConnection and Connection, that are of the same defined class, Connection.[详细]
2023-04-04 09:00 分类:问答Help mapping a bag with NHibernate, items in bag not saving
I am having some trouble getting a List of one of my classes that is stored within another class. I have a Class Intersection which is of a base type device that contains a List of Zones, another cla[详细]
2023-04-04 08:49 分类:问答How to fetch objects multiple levels deep and wide with NHibernate?
I have a case where I need to load about 10 000 objects from database. The data model is something like this:[详细]
2023-04-04 02:52 分类:问答