Single<TResult>(Int32,Func<TRecord,TResult>,LockType,LockType) Method
- Last UpdatedApr 08, 2026
- 1 minute read
TResult Single<TResult>(
int ptNum,
Func<TRecord,TResult> function,
LockType tableLockType,
LockType recordLockType
)
TResult^ Singlegeneric<typename TResult>
(
int ptNum,
Func<TRecord^,TResult^>^ function,
LockType tableLockType,
LockType recordLockType
)
Parameters
- ptNum
- The IRecord.RecordNumber of the record.
- function
- The Func to perform on the record.
- tableLockType
- The TRecord table lock type for the scope of the function.
- recordLockType
- The TRecord record lock type for the scope of the function.
Type Parameters
- TResult
| Exception | Description |
|---|---|
| OASySDNA.RealTime.Data.Common.Exceptions.RecordNotFoundException | If a record with a IRecord.RecordNumber matching ptNum does not exist. |