Creates (Saves) a new instance to the database.
Namespace: Castle.ActiveRecord
Assembly: Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0
Syntax
| C# |
|---|
public virtual void CreateAndFlush() |
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
ActiveRecordBase Class
Castle.ActiveRecord Namespace