Called when a transient entity is passed to SaveOrUpdate.
Namespace: Castle.ActiveRecord
Assembly: Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0
Syntax
| C# |
|---|
protected internal virtual Object IsUnsaved() |
Return Value
Remarks
The return value determines if the object is saved
true - the entity is passed to Save(), resulting in an INSERTfalse - the entity is passed to Update(), resulting in an UPDATEnull - Hibernate uses the unsaved-value mapping to determine if the object is unsaved
See Also
ActiveRecordHooksBase Class
Castle.ActiveRecord Namespace