NHibernate: Is it possible to prevent optimistic dirty locking just for DELETE statements? <p>I have Nhb (ver. 3.3.3) mapping configuration like this</p> <pre><code>.Override&lt;MyObject&gt;(m =&gt; { m.LazyLoad(); m.DynamicUpdate(); m.OptimisticLock.Dirty(); ... } </code></pre> <p>dirty optimistic locking works fine with UPDATE statements but throws some exceptions like "Invalid index 80 for this SqlParameterCollection with Count=80." when I run DELETE statement for [MyObject]. One of the known reason for that is duplicated object properties in configuration mapping, but I have none duplicated. Is it possible to switch dirty locking off for DELETE statement leaving for UPDATE? I actually do not need optimistic locking for DELETE at all, I want it to be as simple as <code>DELETE from MyObject WHERE Id=12343</code>.</p>