RelationOneToManyFrom, ToUnpersist Method |
Removes an object from the persistent store and makes the object a transient object. It does not automatically make referenced objects unpersisted. Best way to do so is to override this virtual function in your own classes.
Namespace:
VelocityDb.TypeInfo
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public override void Unpersist(
SessionBase session
)
Public Overrides Sub Unpersist (
session As SessionBase
)
public:
virtual void Unpersist(
SessionBase^ session
) override
abstract Unpersist :
session : SessionBase -> unit
override Unpersist :
session : SessionBase -> unit
Parameters
- session
- Type: VelocityDb.SessionSessionBase
The managing session
Implements
IOptimizedPersistableUnpersist(SessionBase)See Also