Click or drag to resize

IEntityCollectionBase 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 IEntityCollectionBase : ICollection<IEntity>, 
	IEnumerable<IEntity>, IEnumerable, IDisposable, IEquatable<IProxy>

The IEntityCollectionBase type exposes the following members.

Properties
  NameDescription
Public propertyCompleteName
Gets the complete name
Public propertyCount
Count of entity items
Public propertyDefinition
Gets the entity definition
Public propertyDescription
Gets/Sets the description of the entity collection.
Public propertyIsReadOnly (Inherited from ICollectionIEntity.)
Public propertyItem
Get or set an entity by its index
Public propertyOwnerEntity
Gets the entity that own the most top collection
Public propertyParentEntity
Gets the parent entity item if this collection is a children collection of an entity item.
Public propertyReadOnly
Gets/Sets if the collection is read only
Top
Methods
  NameDescription
Public methodAdd
Create a new entity item and add it to the collection
Public methodAdd(IEntity)
Add an existing item to collection
Public methodBeginModification
Begin a global Modification. Allow UI to disable binding.
Public methodClear (Inherited from ICollectionIEntity.)
Public methodContains
Check if an entity item exists in the collection (ignored if deleted and not ShowAll)
Public methodCopyTo(T, Int32) (Inherited from ICollectionIEntity.)
Public methodCopyTo(IEntityCollectionBase, Boolean)
Copy the content of a collection to another
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodEndModification
End the global Modification. Allow UI to enable binding.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableIEntity.)
Public methodGetFlatEnumerable
Returns an flat enumerator for the collection
Public methodIndexOf
Retrieve the relative index of an entity item
Public methodRemove (Inherited from ICollectionIEntity.)
Top
See Also