| Beginner | 
				 
							
					  | 
				 
							 
				
					 Joined: Tue Aug 23, 2005 8:15 am Posts: 45				
			 | 
			
				
				
					| 
					
						 Hello!
 
 I have a question.
 What is a good practice of using "inverse" and "cascade" attributes in NH.
 
 As understood while reading documentation and materials in the Web
 it is very poular to use cascade="save-update" on collection part of association.
 
 As to inverse I still not sure what is the semantic of it and how it affects delete operation.
 
 By save I know when inverse=false I can comment first line here:
 
 children.Parent = parent; // can comment when inverse=true
 parent.Children(children);
 session.Save(parent);
 
 
 But is it a good solution (inverse=false)???
 What is with delete in this case?
 
 Best regards,
 Sergey 
					
  
						
					 | 
				 
				 
			 |