On a delete context with nHibernate, when deleting a parent with child collection I would like to know why Nhibernate do a delete line by line for chi ...
On a delete context with nHibernate, when deleting a parent with child collection I would like to know why Nhibernate do a delete line by line for chi ...
I have a mapping and POCOs as below. The problem is that tbFNamesFeature is not being updated when this object is saved (whereas tblFeature is) I've t ...
I have issue with cascade a one to many relationship. One of my table contains a component, and the component is linked to another table which is my g ...
I have a table Communication which has a reference to PersonCompany. In the mapping for PersonCompany i have defined a Cascade-Delete for this referen ...
I have a problem with a self bidirectional relationship does not work cascade remove, i have the following entity that what it does is basically put t ...
Problem encountered When I create a transient instance with a children collection, everything gets persisted. Aside, if I update an instance of ...
I have read on the inverse and cascade mapping attributes, and would like to know: Whether is it possible to use them in my scenario? And if it is ...
We have 2 classes, Parent and Child The parent has no reference to the child, the child has the following defined in its fluent mapping: When the ...
This is related to this question I asked previously. In Request mapping I have it set to SaveUpdate due and in Discount mapping I have cascade set to ...
I have a EmployeeMonth object which saves the calculated Bonus and Points earned by an employee. In the EmployeeMonth object there is a BonusMonth obj ...
Objective: Create a parent-child relationship such that modifications to the parent's list of children will propagate to all of the children and have ...
I want to delete an user which has many usergroups but those usergroups don't belong exclusivly to this user: other users can also be using this userg ...
Suppose I have a class Foo. I also have a view on Foo called Foo_Foo that lists a many-to-many association between Foos. I mapped this association as ...
I've searched so many places and still can't find the a answer I'm looking for. I'm using NHibernate 3.2 - Mapping by Code I Have the following Mapp ...
There is a following simplified mapping for one of our entity classes: Basically, it's one-to-one with the foreign key from the other side of the r ...
Sorry if this is obvious but we've been scratching our heads over this for several days now. Consider three entities, Parent, Child and X: Parent ha ...
Having tried several solutions to get NHibernate to delete orphan records. Given the following structure: UPDATE: It had nothing to do with the set ...
I have a many to many relationship: Product has many Categories and Category has Many Products. Say I have Now I delete Shopping Category. I ...
I have this mapping Now I want to delete a country. If you delete a country all the cards should be deleted. It should delete all the rewards. W ...
I have a project by NHibernate implementation and using Lazy Loading. I have two class in this project : Person and Family. Relation between Those two ...