I'd like to unit test my delete operations more thourougly in nHibernate but can't figure out how to do it.
Right now I issue the delete statement and rollback the transaction after that. This test succeeds just fine. If you examine the SQL you will notice no delete statements are sent to database :( Now if I try to do CommitChanges the unit test fails because there was problems with my mapping file and how cascading deletes were setup. How can I do CommitChanges without actually committing the transaction so I can see if the delete statements would actually work properly? -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
