Saves a copy of the instance information to the database. May Create or Update the instance depending on whether it has a valid ID.

Namespace: Castle.ActiveRecord
Assembly:  Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0

Syntax

C#
public virtual Object SaveCopyAndFlush()

Return Value

A saved ActiveRecord instance

Remarks

Even within a SessionScope the operation is going to be flushed immediately. This might have side effects such as flushing (persisting) others operations that were on hold.

See Also