Beginner |
|
Joined: Tue Feb 28, 2006 3:16 am Posts: 28
|
Hi
I m trying to implement a hierarchy component where i m using nhibernate. Each node and leafs in a tree represent a row in a tree.
I m implementing an copy and paste operation over this tree.
Scnenario is like
I m copying a particular node in a tree and wanted to assign the same at some other place in a tree (there is a parent node , child node columns in the database) so in this case i want to assign the node at some other location with different parent.
At database level what is expected is it will add another row with differnt parent.
What is actually happening is it is deleting the row from where i have copied and adding row for another parent.(this add is ok but it should not delete since i m copying)
Note : It is not firing delete statment it updates the records
|
|