I have been studying the Summer Of NHibernate Tutorials and when I have reached the Session 04: Exploring Transactions and Concurrency -just like in the tutorial- I wanted to create a SAVE test which
I\'m new to nhibernate, and I\'m sorry if this is answered elsewhere, but I\'ve been looking for the last couple of hours, and can\'t find a solution that works.
I am attempting to query entities with HQL in order to return a list of objects. The query returns the correct number of rows, but the first entry (ie the first row returned is duplicated across all e
I have an existing RoleType table with data. I am trying to map this table in NHibernate using Table per class hierarchy:
I have two tables in a legacy database... tblParentTable (int id, string specialIdentifier, ...) tblChildTable (int id, string specialIdentifier, ...)
I am trying to map a new domain model to a fixed-schema legacy database and am stuck on how to do a certain type of mapping.Here\'s a distilation of my problem.
I am trying to get a single property from a joined table where a non-PK in my main table is joined to the PK of the foreign table.Below is an oversimplified example of what I am trying to accomplish (
Hello hope someone can help me on this. I have a situation where I have: User entity which stores all my users including admins.
I have the following model: public class Some开发者_Go百科Object1 { public virtual Guid Id {get; set; }
I have a table that contains information from many customers ID | employeename | customerId ------------------------------