I\'m using FluentNHibernate.I am not using auto-mapping.I have a base class that is subclassed.When I query against the base class then it performs an extra query against the subclass.Here\'s the (con
How can I map a nullable value-type property as a component in NHibernate? For example: public struct PersonName
Lets say i have two entities; QuestionAnswer(Id, AnswerValue) Note(Id, QuestionAnswer_Id,开发者_开发问答 NoteValue)
I have figured out a lot about nhibernate, but this seems to be my final hurdle of not understanding what is going on. So here is the problem.
I\'ve heard this can also be accomplished with开发者_如何学Python triggers, but I\'d rather not go that road if I can.Right now it seems like nulling references to child objects just leaves them orpha
I\'m using Sharp Architecture and have a number of situations where Value Objects are used in an Entity. Here is an obvious simple example:
I\'m working with an Oracle DB, and I\'m trying to map this class: pu开发者_JAVA技巧blic class Book
Let\'s say I have the following entity: public class CalculationInfo { public virtual Int64 Id { get; set; }
In my application I have a bool property named DisplayIndicator. In the database (DB2) it\'s correspondence is DISPL_IND column of type smallint.
I am attempting to create a simple database application which keeps track of loans of various types of equipment using Fluent NHibernate and SQLite. However, when I try to generate the database struct