This is the parent class This is a child class Answer only differs from the superclass by including the questionId field Which data model is ...
This is the parent class This is a child class Answer only differs from the superclass by including the questionId field Which data model is ...
I need to map a legacy table using Fluent NHibernate. I have no control over the table structure. The table looks like this: I am attempting to ...
I wish to implement an online library in hibernate. Here is my sql sschema: Between Book and Programming book I am thinking of using hibernate inhe ...
I am developing online web shop, and I need help with Hibernate mapping. I have the following inheritance: What I want: 1)Common fields such as id ...
I've encountered a DB table called ScheduledJobs with a gazillion columns and a single matching C# object with an equal gazillion properties. I'm not ...
I am developing a inheritance strategy in fluent nhibernate. Everything works correctly but I have a one question. Is there any possibility to disable ...
I have implemented Joined, Multiple Table Inheritance. There is a 'parent' table pois and two sub tables: xPois and yPois and in turn I have an abst ...
I have the following entities: I map these entities using the following Hibernate Conformist mapping: The EnumCustomType is an IUserType that ma ...
I have a super class called userDetailsSuper which is mapped to another table called Address. When I try to insert into the child table, data is in ...
I am using EF5 Code-first with entity classes like so: and then I configure the derived entity as follows: In my application I then call: Wha ...
I want to use TPH Inheritance in EF5 Code First. I want to base it on whether a column in the database is null or not. I found this link indicating i ...
I might be using the wrong word so when I say Business Object (BO) I mean a class with a reference to the class that's mapped to a database-table with ...
I have a project where we are using only named queries to access the database. Recently we have created new entities that we were planing to map follo ...
I'm trying to automap a simple inheritance hierarchy with Fluent Nhibernate, and I need to have a slightly different name for each table than its clas ...
I'll start with a sanitized example. In my system, I've got the class Car. Car has a number of fields, among which is the gearShift instance of class ...
While designing & developing a data-centered project using Entity Framework, I have spent too much time to find a way to accomplish one of the fol ...
I have a Base class and two childs (A:Base and B:Base), and I want to map them to two tables (table A and table B). Is that possible in Fluent NHibern ...