IEventRegistry.

Deleting Event

Summary

This event is fired before an object is deleted.
Assembly
Db4objects.Db4o-2010.dll
Namespace
Db4objects.Db4o.Events
Containing Type
IEventRegistry
Event Type
EventHandler<CancellableObjectEventArgs>

Syntax

event EventHandler<CancellableObjectEventArgs> Deleting

Remarks

This event is fired before an object is deleted. The object can be obtained from Db4objects.Db4o.Events.CancellableObjectEventArgs event parameter. The action can be cancelled using Db4objects.Db4o.Events.CancellableObjectEventArgs.Cancel

Note, that this event is not available in networked client/server mode and will throw an exception when attached to a client ObjectContainer.

See Also

  • Db4objects.Db4o.Events.CancellableObjectEventArgs
  • Db4objects.Db4o.IObjectContainer.Delete(System.Object)