IEntity Interface |
The IEntity type exposes the following members.
| Name | Description | |
|---|---|---|
| Archived | Gets/sets the archived value of this entity | |
| Created | Gets the entity's creation date. | |
| CreationUser | Gets the ID of the User who created this entity. | |
| LastModified | Gets the date when the entity was most recently modified. | |
| LastModifiedUser | Gets the ID of the User who lasted edited the entity. | |
| Session | Gets the session that retrieved this entity. An entity is always session-specific. | |
| SessionId | Gets the unique ID of the session that retrieved this entity. |
| Name | Description | |
|---|---|---|
| Touch | Updated the entity's LastModified value to the current time. | |
| ValidateData | Validates this entity's data. Implemented by concrete inheriting types. | |
| ValidateUserPermission | Validates the user permission on the current entity. Implemented by concrete inheriting types. It is called automatically upon saving an entity. |
| Name | Description | |
|---|---|---|
| AfterEntitySave |
This event is fired after a Entity object is saved.
(Inherited from IEntityEvents) | |
| BeforeEntitySave |
This event is fired before any Entity object is about to be saved.
(Inherited from IEntityEvents) |