I am trying to map a one-to-many relationship in Fluent NHibernate where the collection property is an custom collection class.I am using a protected InnerList property on the collection class to expo
I\'ve seen some examples in which decimal is used in NHibernate projects for mapping to whole number columns in Oracle. Right now I\'m using int and long in my program.
Hopefully this is an easy question. I have a legacy DB2 database on an AS/400 where fields like Zip Code are stored as NUMERIC. When mapping them in NHibernate they are treated as integers and the lea
I use Dynamic model in Nhibernate. Like this : <class entity-name=\"Customer\"> <id name=\"id\"
What is the correct HBM mapping for the scenario below? I need to qualify ValueItem in the database as either an Income or Expense item in order for NHibernate to load it into the correct list when l
I\'ve been trying to map a IDictionary to a database using NHibernate (2.1.2.4000) and NHibernate.Mapping.Attributes (1.2.1.4000) with no success. I found a few blogs online that mention that it\'s po
I have a table User, fields : Id, Username I have a table UserGroup, fields : Id, UsergroupName, Code I\'d like assign several Usergroup by user, that\'s mean, I have to have a third table with : Us
I\'m trying to figure out how to use CompositeId to map another class. Here\'s a test case: The tables:
I want to auto generate a number for an开发者_StackOverflow中文版 entity from the database with the following mapping:
On every object in my DB, I hav开发者_开发问答e audit fields for CreatedBy, CreatedOn, ModifiedOn, and ModifiedBy. the CreatedBy and ModifiedBy map to a User object that I have created to map to my us