Class EntitySubItemCollection

This class is used as a base class for a number of different item collections
that may reside in a BusinessEntity

System.Object
  EPS.Business.BusinessObjects.EntitySubItemCollection

public abstract class EntitySubItemCollection : object, IEntitySubItemCollection,
   IEnumerable,
   IFilterable,
   ISortable

Class Members

MemberDescription
Add Adds a new record to the internal dataset.
public virtual IEntitySubItemCollectionItem Add();
ClearFilter Clears out all filter expressions, except the master filter.
public sealed void ClearFilter();
GetEnumerator Implementation of IEnumerable, in particular GetEnumerator()
public sealed IEnumerator GetEnumerator();
GetItemByIndex Retrieves an item fromt he collection by its index
public virtual IEntitySubItemCollectionItem GetItemByIndex( int index );
GetItemObject This method instantiated the appropriate item collection object
public virtual IEntitySubItemCollectionItem GetItemObject();
Remove Removed an item from the collection
public virtual void Remove( int index );
RemoveByKey Removes an item based on its (primary) key.
public virtual bool RemoveByKey( Guid key );

public virtual bool RemoveByKey( int key );

public virtual bool RemoveByKey( string key );

SetParentEntity This method sets the parent entity of this collection
public sealed void SetParentEntity( IBusinessEntity parentEntity );
SetTable Assigns a default table to the collection.
public sealed void SetTable( DataTable table );
BrokenRules Broken business rules collection (specific to this collection)
CompleteFilterExpression Complete filter expression, including the master filter
CompleteSortExpression Complete sort expression
Count Number of items in the collection
Filter Filter expression
FilterMaster Filter expression
InternalDataTable Internal data table
Item
LoadState Data load state of the entity
ParentEntity Reference to the parent entity object
SortBy Sort expression
SortByMaster Master sort expression

Requirements

Namespace: EPS.Business.BusinessObjects
Assembly: BUSINESSOBJECTS.DLL


  Last Updated: 5/23/2007 | © , 2007