Represents an object that has a unique ID and name; has a list of update information; and can be serialized to XML.
Entities should only be manipulated within a UserWriteSession. Also, it should only have its methods and properties
called within the UserSession where it was originally retrieved.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
The IEntity type exposes the following members.
Properties
Name | Description | |
---|---|---|
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.
| |
Name |
Gets and sets the entity's name.
| |
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.
|
Methods
Name | Description | |
---|---|---|
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.
|
Events
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.) |
See Also