Click or drag to resize

IOwnerEntity Interface

Exposes the most used properties / methods for entity that have an owner (user) It's mostly used for entities that have the information of the user that have alter it and the deletion flag

Namespace:  AskiaPortalCmn.Entities
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
public interface IOwnerEntity : IOwnerEntityBase, 
	IEntityBase

The IOwnerEntity type exposes the following members.

Properties
  NameDescription
Public propertyCreatedAt
Get the date of the creation
(Inherited from IOwnerEntityBase.)
Public propertyCreatedBy
Get the id of the user who have create the entity
(Inherited from IOwnerEntityBase.)
Public propertyDeletedAt
Get the date of deletion
(Inherited from IOwnerEntityBase.)
Public propertyDeletedBy
Get the id of the user who have delete the entity
(Inherited from IOwnerEntityBase.)
Public propertyId
Get the id of the current entity
(Inherited from IOwnerEntityBase.)
Public propertyIsDeleted
Indicates if the current entity is flag as deleted
(Inherited from IOwnerEntityBase.)
Public propertyUpdatedAt
Get the date of the latest update
(Inherited from IOwnerEntityBase.)
Public propertyUpdatedBy
Get the id of the last user who have update the entity
(Inherited from IOwnerEntityBase.)
Top
Methods
  NameDescription
Public methodDelete
Flag the entity as deleted in database
(Inherited from IEntityBase.)
Public methodDelete(Boolean)
Flag an entity as deleted or definitively delete it in the database.
Public methodReload
Reload the entity, using the current database value. Returns successful value when the operation succeed
Public methodRestore
Restore an entity flag as deleted
Public methodSave
Save (create or update) an entity
(Inherited from IEntityBase.)
Public methodValidate
Validate the integrity of the entity
(Inherited from IEntityBase.)
Top
See Also