OptionsEntityExtensionTOptionsEntity Class |
Namespace: EBP.Api.Entity
public abstract class OptionsEntityExtension<TOptionsEntity> : ReadOnlyEntityExtension<TOptionsEntity>, IEntityExtension where TOptionsEntity : class, IReadOnlyEntity
The OptionsEntityExtensionTOptionsEntity type exposes the following members.
| Name | Description | |
|---|---|---|
| OptionsEntityExtensionTOptionsEntity |
Initializes a new instance of the OptionsEntityExtensionTOptionsEntity class.
|
| Name | Description | |
|---|---|---|
| Entity |
Get the associated entity
(Inherited from ReadOnlyEntityExtensionTEntity.) | |
| OptionsEntity |
Gets the entity grouping application options.
|
| Name | Description | |
|---|---|---|
| CanCopyMembersTo |
Check if a member is allowed to be copied
(Inherited from EntityExtensionBase.) | |
| CreateMemberT |
Creates a member.
| |
| CreateMembers |
Called when the entity needs to create members
| |
| 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.
(Inherited from ReadOnlyEntityExtensionTEntity.) | |
| OnInternalCopyingTo |
Occurs before the copy of current instance into specified entity.
(Inherited from ReadOnlyEntityExtensionTEntity.) | |
| 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.) |