First(Action<TRecord>,LockType,LockType) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Performs the action on the first record in the collection, ordered by ascending IRecord.RecordNumber.
void First(
Action<TRecord> action,
LockType tableLockType,
LockType recordLockType
)
void First(
Action<TRecord^>^ action,
LockType tableLockType,
LockType recordLockType
)
Parameters
| Exception | Description |
|---|---|
| OASySDNA.RealTime.Data.Common.Exceptions.RecordNotFoundException | If the collection is empty. |