Click or drag to resize

IReadOnlyEntityT Interface

Base for the EntityItem (for using in hierarchical collection)

Namespace:  EBP.Api.Interfaces.Entity
Assembly:  EBP.Api.Common (in EBP.Api.Common.dll) Version: 1.0.2835.45 (1.0.2835.45)
Syntax
public interface IReadOnlyEntity<T> : IReadOnlyEntityItemBase, 
	IReadOnlyEntity, IDisposable, IEquatable<IProxy>
where T : Object, IReadOnlyEntity<T>

Type Parameters

T
entity item type

The IReadOnlyEntityT type exposes the following members.

Properties
  NameDescription
Public propertyChildren
collection of children entity. The collection is hierarchical, so an entity item has its own children
Public propertyCreatedDate
Gets the Created Date
(Inherited from IReadOnlyEntity.)
Public propertyCreatedUser
Gets the Created User
(Inherited from IReadOnlyEntity.)
Public propertyEntityCaption
Gets the caption of the current entity, using the content
(Inherited from IReadOnlyEntity.)
Public propertyEntityLabel
Gets the entity Label
(Inherited from IReadOnlyEntity.)
Public propertyErrors
Gets the collection of errors
(Inherited from IReadOnlyEntity.)
Public propertyIsDeleted
Gets if the mode matches a deleted mode
(Inherited from IReadOnlyEntity.)
Public propertyMembers
List of the members. It allows to acces to members with the name
(Inherited from IReadOnlyEntity.)
Public propertyModifiedDate
Gets the Modified Date
(Inherited from IReadOnlyEntity.)
Public propertyModifiedUser
Gets the Modified User
(Inherited from IReadOnlyEntity.)
Public propertyOwnerEntity
Gets the main entity that own all this items/collection
(Inherited from IReadOnlyEntity.)
Public propertyParent
Parent entity collection, that own this item
Public propertyParentEntity
The entity item is in collection, this collection can be the children collection of an other entity (because the hierarchical possibility), returns this entity. Correspond to Parent.Parent
Public propertyReadOnly
Gets if the entity is in read only mode, to preserve from data changing
(Inherited from IReadOnlyEntity.)
Public propertySilent
Get if the entity is in silent mode
(Inherited from IReadOnlyEntity.)
Public propertyStates
Gets the entity states
(Inherited from IReadOnlyEntity.)
Public propertyTopEntities
Returns the top entity collection. The collection can be hierarchical, so an item has its own entity collection.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Top
See Also