![]() | ReadOnlyEntityExtensionTEntity Class |
Namespace: EBP.Api.Entity
public abstract class ReadOnlyEntityExtension<TEntity> : ReadOnlyEntityExtension, IEntityExtension where TEntity : IReadOnlyEntity
The ReadOnlyEntityExtensionTEntity type exposes the following members.
Name | Description | |
---|---|---|
![]() | ReadOnlyEntityExtensionTEntity |
Initializes a new instance of the EntityExtensionTEntity class.
|
Name | Description | |
---|---|---|
![]() | CanCopyMembersTo |
Check if a member is allowed to be copied
(Inherited from EntityExtensionBase.) |
![]() | DoAppend |
Method called after entity is appended. If return false, the append of the entity is canceled
(Inherited from EntityExtensionBase.) |
![]() | DoCancel |
Method called after entity is canceled
(Inherited from EntityExtensionBase.) |
![]() | DoDelete |
Method called after entity is deleted. If return false, the delete of the entity is canceled
(Inherited from EntityExtensionBase.) |
![]() | DoSave |
Method called after entity is saved. If return false, the save of the entity is canceled
(Inherited from EntityExtensionBase.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnAppending |
Method called before the append of entity
(Inherited from EntityExtensionBase.) |
![]() | OnCanceled |
Called after the entity edit was canceled
(Inherited from EntityExtensionBase.) |
![]() | OnChanged |
Occurs when an entity member has changed
(Inherited from EntityExtensionBase.) |
![]() | OnChanging |
Occurs when a member is changing
(Inherited from EntityExtensionBase.) |
![]() | OnCheckedData |
Occurs when the entity mode has checked the data
(Inherited from EntityExtensionBase.) |
![]() | OnDeleted |
Called after the entity is deleted
(Inherited from EntityExtensionBase.) |
![]() | OnDeletedFromParentCollection |
Call when the entity item is deleted from the the parent collection
(Inherited from EntityExtensionBase.) |
![]() | OnDeleting |
Called before deleting the entity
(Inherited from EntityExtensionBase.) |
![]() | OnDeletingFromParentCollection |
Call when the entity item is deleted from the the parent collection
(Inherited from EntityExtensionBase.) |
![]() | OnDisposed |
Call when the entity is disposed
(Inherited from EntityExtensionBase.) |
![]() | OnInsertedIntoParentCollection |
Call when the entity item is inserted into the the parent collection
(Inherited from EntityExtensionBase.) |
![]() | OnInternalCopiedTo |
Occurs after the copy of current instance into specified entity.
(Overrides EntityExtensionBaseOnInternalCopiedTo(Object, Boolean).) |
![]() | OnInternalCopyingTo |
Occurs before the copy of current instance into specified entity.
(Overrides EntityExtensionBaseOnInternalCopyingTo(Object, Boolean).) |
![]() | OnModeChanged |
Occurs when the entity mode has changed
(Inherited from EntityExtensionBase.) |
![]() | OnModeChangedOrUndoingOrCopiedFrom |
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.) |
![]() | OnSaved |
Called after the entity is saved
(Inherited from EntityExtensionBase.) |
![]() | OnSaving |
Called before saving the entity
(Inherited from EntityExtensionBase.) |
![]() | OnStateChanged |
Occurs when the entity state has changed
(Inherited from EntityExtensionBase.) |
![]() | ToString | (Inherited from Object.) |
![]() | UpdateMemberBeforeSave |
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.) |
![]() | ValidateNewValue |
Before set a new value, this value can be modified, after that the value is checked by
standard rules (nullable...)
(Inherited from EntityExtensionBase.) |