Interface ISequencedCollectionMember
- Namespace
- ArcanaDevelopment.adTempus.Shared
- Assembly
- ArcanaDevelopment.adTempus.Shared.dll
Implemented by objects that need to have a sequence number set to maintain sequence when they are included in an entity collection.
public interface ISequencedCollectionMember
Remarks
The SetSequenceNumber method is called by EntityCollection and FacadeCollection when items in a collection are added, removed, or reordered.
Methods
SetSequenceNumber(string, int)
Sets the sequence number for this item within a containing collection.
void SetSequenceNumber(string ParentNavigatorName, int sequenceNumber)
Parameters
| Name | Type | Description |
|---|---|---|
ParentNavigatorName |
string | The name of the collection within the parent entity. E.g., "Steps" for the collection with a Job that contains JobSteps. |
sequenceNumber |
int | The new sequence number for this item within the collection (0-based). |