Click or drag to resize

EntityExtensionBase Class

Class for extending entities' business
Inheritance Hierarchy

Namespace:  EBP.Api.Entity
Assembly:  EBP.Api (in EBP.Api.dll) Version: 1.0.2835.45 (1.0.2835.45)
Syntax
public abstract class EntityExtensionBase : IEntityExtension

The EntityExtensionBase type exposes the following members.

Methods
  NameDescription
Protected methodCanCopyMembersTo
Check if a member is allowed to be copied
Protected methodDoAppend
Method called after entity is appended. If return false, the append of the entity is canceled
Protected methodDoCancel
Method called after entity is canceled
Protected methodDoDelete
Method called after entity is deleted. If return false, the delete of the entity is canceled
Protected methodDoSave
Method called after entity is saved. If return false, the save of the entity is canceled
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAppending
Method called before the append of entity
Protected methodOnCanceled
Called after the entity edit was canceled
Protected methodOnChanged
Occurs when an entity member has changed
Protected methodOnChanging
Occurs when a member is changing
Protected methodOnCheckedData
Occurs when the entity mode has checked the data
Protected methodOnDeleted
Called after the entity is deleted
Protected methodOnDeletedFromParentCollection
Call when the entity item is deleted from the the parent collection
Protected methodOnDeleting
Called before deleting the entity
Protected methodOnDeletingFromParentCollection
Call when the entity item is deleted from the the parent collection
Protected methodOnDisposed
Call when the entity is disposed
Protected methodOnInsertedIntoParentCollection
Call when the entity item is inserted into the the parent collection
Protected methodOnInternalCopiedTo
Occurs after the copy of current instance into specified entity.
Protected methodOnInternalCopyingTo
Occurs before the copy of current instance into specified entity.
Protected methodOnModeChanged
Occurs when the entity mode has changed
Protected methodOnModeChangedOrUndoingOrCopiedFrom
Method called after changes of entity members due to a copy (duplication), a mode entering in browse or append, or a undo/redo action. Use it to update read-only members, contextual filter or non-members extension properties. Use also OnChanged(IChangedEventArgs) to do the same treatment according to a specific entity member.
Protected methodOnSaved
Called after the entity is saved
Protected methodOnSaving
Called before saving the entity
Protected methodOnStateChanged
Occurs when the entity state has changed
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Protected methodUpdateMemberBeforeSave
Call before saving the entity, it allows to update or copy information at the last moment (system members, RTF, EditCounter, user needed)
Protected methodValidateNewValue
Before set a new value, this value can be modified, after that the value is checked by standard rules (nullable...)
Top
See Also