DomainObjects Class Library

IDeletable Members

IDeletable overview

Public Instance Properties

IsDeletedFromDatabase Determine if this instance has been successfully deleted from the database. If true, then methods cannot be called against this instance and all references to this instance must be nullified.
NeedsDelete 

Public Instance Methods

Delete Delete this instance from the database upon transaction Commit. After calling this method NeedsDelete returns true.

Public Instance Events

OnDeletedFromDatabase An event that subscribers can use to be notifed when this instance has been successfully deleted from the database. If this instance has been deleted, then methods cannot be called against this instance and all references to this instance must be nullified.

See Also

IDeletable Interface | DomainObjects.Facade.Domain Namespace