Class BusinessRuleCollection

This method encapsulates a collection of business rules

System.Object
  EPS.Business.BusinessObjects.BusinessRuleCollection

public class BusinessRuleCollection : object, ICollection,
   IEnumerable

Class Members

MemberDescription
Constructor Constructor
Add Adds a new rule to the rules collection
public void Add( IBusinessRule newRule );
AddRequiredField Flaggs a field as a required field.
public void AddRequiredField( string fieldName,
string tableName );

public void AddRequiredField( string fieldName,
string tableName,
string message );

ApplyRules Applies all rules within the collection to the provided data set
public void ApplyRules( DataSet currentDataSet );

public void ApplyRules( DataSet currentDataSet,
Type ruleType );

Clear Clears all items from the collection of rules.
public void Clear();
CopyTo Copies the items within this collection to a one-dimensional array starting at the specified index
public sealed void CopyTo( Array array,
int index );

public void CopyTo( IBusinessRule[] array,
int index );

GetEnumerator Returns an enumerator for the business rule collection
public sealed IEnumerator GetEnumerator();
RemoveAt Removes the specified item from the collection of rules
public void RemoveAt( int index );
Count Number of rules in the collection
IsSynchronized Defines whether this class is thread-safe
Item
SyncRoot Gets a reference to an object that can be used to synchronize access to this collection.

Requirements

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


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