Click or drag to resize

EntityExtensionTEntity Class

Class for extending entities' business
Inheritance Hierarchy
SystemObject
  EBP.Api.EntityEntityExtensionBase
    EBP.Api.EntityEntityExtension
      EBP.Api.EntityEntityExtensionTEntity

Namespace:  EBP.Api.Entity
Assembly:  EBP.Api (in EBP.Api.dll) Version: 1.0.2835.45 (1.0.2835.45)
Syntax
public abstract class EntityExtension<TEntity> : EntityExtension, 
	IEntityExtension
where TEntity : IEntity

Type Parameters

TEntity
type of the enty to extend. Must be a IEntity

The EntityExtensionTEntity type exposes the following members.

Constructors
  NameDescription
Protected methodEntityExtensionTEntity
Initializes a new instance of the EntityExtensionTEntity class.
Top
Properties
  NameDescription
Protected propertyEntity
Get the associated entity
Top
Methods
  NameDescription
Protected methodCanCopyMembersTo
Check if a member is allowed to be copied
(Inherited from EntityExtensionBase.)
Protected methodDoAppend
Method called after entity is appended. If return false, the append of the entity is canceled
(Inherited from EntityExtensionBase.)
Protected methodDoCancel
Method called after entity is canceled
(Inherited from EntityExtensionBase.)
Protected methodDoDelete
Method called after entity is deleted. If return false, the delete of the entity is canceled
(Inherited from EntityExtensionBase.)
Protected methodDoSave
Method called after entity is saved. If return false, the save of the entity is canceled
(Inherited from EntityExtensionBase.)
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
(Inherited from EntityExtensionBase.)
Protected methodOnCanceled
Called after the entity edit was canceled
(Inherited from EntityExtensionBase.)
Protected methodOnChanged
Occurs when an entity member has changed
(Inherited from EntityExtensionBase.)
Protected methodOnChanging
Occurs when a member is changing
(Inherited from EntityExtensionBase.)
Protected methodOnCheckedData
Occurs when the entity mode has checked the data
(Inherited from EntityExtensionBase.)
Protected methodOnCopiedTo
Occurs after the copy of current instance into specified entity.
Protected methodOnCopyingTo
Occurs before the copy of current instance into specified entity.
Protected methodOnDeleted
Called after the entity is deleted
(Inherited from EntityExtensionBase.)
Protected methodOnDeletedFromParentCollection
Call when the entity item is deleted from the the parent collection
(Inherited from EntityExtensionBase.)
Protected methodOnDeleting
Called before deleting the entity
(Inherited from EntityExtensionBase.)
Protected methodOnDeletingFromParentCollection
Call when the entity item is deleted from the the parent collection
(Inherited from EntityExtensionBase.)
Protected methodOnDisposed
Call when the entity extension is disposed
(Inherited from EntityExtension.)
Protected methodOnInsertedIntoParentCollection
Call when the entity item is inserted into the the parent collection
(Inherited from EntityExtensionBase.)
Protected methodOnInternalCopiedTo
Occurs after the copy of current instance into specified entity.
(Overrides EntityExtensionBaseOnInternalCopiedTo(Object, Boolean).)
Protected methodOnInternalCopyingTo
Occurs before the copy of current instance into specified entity.
(Overrides EntityExtensionBaseOnInternalCopyingTo(Object, Boolean).)
Protected methodOnModeChanged
Occurs when the entity mode has changed
(Inherited from EntityExtensionBase.)
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.
(Inherited from EntityExtensionBase.)
Protected methodOnSaved
Called after the entity is saved
(Inherited from EntityExtensionBase.)
Protected methodOnSaving
Called before saving the entity
(Inherited from EntityExtensionBase.)
Protected methodOnStateChanged
Occurs when the entity state has changed
(Inherited from EntityExtensionBase.)
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)
(Inherited from EntityExtensionBase.)
Protected methodValidateNewValue
Before set a new value, this value can be modified, after that the value is checked by standard rules (nullable...)
(Inherited from EntityExtensionBase.)
Top
See Also