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 SaveCopy()

Return Value

An saved ActiveRecord instance

Remarks

If within a SessionScope the operation is going to be on hold until NHibernate (or you) decides to flush the session.

See Also