Map<TResult> Method (IFilteredRecordCollection<TRecord>)
- Last UpdatedApr 08, 2026
- 1 minute read
Performs the function on all TRecord records by ascending IRecord.RecordNumber, returning the results of all operations as an IEnumerable. As the invocation of the function over all the records needs to be done within the duration of the table and record locks, the returned IEnumerable will be eagerly evaluated.
IEnumerable<TResult> Map<TResult>(
Func<TRecord,TResult> function,
LockType tableLockType,
LockType recordLockType
)
IEnumerable<TResult^>^ Mapgeneric<typename TResult>
(
Func<TRecord^,TResult^>^ function,
LockType tableLockType,
LockType recordLockType
)
Parameters
- function
- The Func to perform on each 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
- The return type of the function.
Return Value
A collection of eagerly-evaluated results.