Click or drag to resize

IReadOnlyEntityCollectionT Interface

Hierarchical entity collection. Used in master/detail for representing the detail part

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 IReadOnlyEntityCollection<T> : IReadOnlyEntityCollectionBase, 
	IEnumerable<IReadOnlyEntity>, IEnumerable, IDisposable, IEquatable<IProxy>
where T : IReadOnlyEntity

Type Parameters

T
Entity Item type stored in the collection

The IReadOnlyEntityCollectionT type exposes the following members.

Properties
  NameDescription
Public propertyCompleteName
Gets the complete name
(Inherited from IReadOnlyEntityCollectionBase.)
Public propertyDefinition
Gets the entity definition
(Inherited from IReadOnlyEntityCollectionBase.)
Public propertyDescription
Gets the description of the entity collection.
(Inherited from IReadOnlyEntityCollectionBase.)
Public propertyItem
Gets an entity by its index
Public propertyOwnerEntity
Gets the entity that own the most top collection
(Inherited from IReadOnlyEntityCollectionBase.)
Public propertyParentEntity
Gets the parent entity item if this collection is a children collection of an entity item.
(Inherited from IReadOnlyEntityCollectionBase.)
Public propertyReadOnly
Gets if the collection is read only
(Inherited from IReadOnlyEntityCollectionBase.)
Top
Methods
  NameDescription
Public methodContains
Check if an entity item exists in the collection (ignored if deleted and not ShowAll)
(Inherited from IReadOnlyEntityCollectionBase.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetEnumerator
Returns an enumerator for the collection
Public methodGetFlatEnumerable
Return a flat enumerable for the collection. Includes the children
Public methodIndexOf
Retrieve the relative index of an entity item
(Inherited from IReadOnlyEntityCollectionBase.)
Top
See Also