From NHibernate documentation:
Specifies that NHibernate should never perform an SQL UPDATE
unless it is certain that an object is actually modified. In
certain cases (actually, only when a transient object has
been associated with a new session using update()), this means
that NHibernate will perform an extra SQL SELECT to determine
if an UPDATE is actually required.
Namespace: Castle.ActiveRecord
Assembly: Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0
Syntax
| C# |
|---|
public bool SelectBeforeUpdate{ get; set;} |
See Also
ActiveRecordAttribute Class
Castle.ActiveRecord Namespace