SelectTogether<TResult> Method (IFilteredRecordCollection<TRecord>)
- Last UpdatedApr 08, 2026
- 1 minute read
Performs the function on a set of records together. A lock is held on all records in the collection simultaneously.
TResult SelectTogether<TResult>(
Func<IReadOnlyList<TRecord>,TResult> function,
LockType tableLockType,
LockType recordLockType
)
TResult^ SelectTogethergeneric<typename TResult>
(
Func<IReadOnlyList<TRecord^>^,TResult^>^ function,
LockType tableLockType,
LockType recordLockType
)
Parameters
- function
- A function to be performed on an IReadOnlyList of records.
- 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
- The return type of the function.
Return Value
The result of function.