IRecordCollection<TRecord> Interface Members
- Last UpdatedApr 08, 2026
- 7 minute read
The following tables list the members exposed by IRecordCollection<TRecord>.
| Name | Description | |
|---|---|---|
![]() | Attached | Indicates if this is currently attached to the shared memory with any LockType. (Inherited from OASySDNA.RealTime.Data.Common.IAttachable) |
![]() | Disposed | Indicates if the collection been disposed of. A disposed collection cannot be safely operated on. (Inherited from ) |
![]() | IsLocked | Indicates if this is currently locked with any LockType. (Inherited from ) |
![]() | LockType | The current lock type if IsLocked is true; otherwise, LockType.SAFE_READ. (Inherited from ) |
![]() | Name | The name of the table. (Inherited from ) |
![]() | Number | The table number for the currently bound table. (Inherited from ) |
![]() | RealTimeRecord | The underlying OASySDNA.RealTime.Data.Common.HighPerformanceDBWrapper.Interfaces.IRealTimeRecord that is getting attached to. Does not apply to tables. (Inherited from ) |
| Name | Description | |
|---|---|---|
![]() | Aggregate<TAccumulate> | Applies an accumulator function over all TRecord records by ascending IRecord.RecordNumber. The specified seed value is used as the initial accumulator value. This is identical to Aggregate. (Inherited from OASySDNA.RealTime.Data.Common.IFilteredRecordCollection<TRecord>) |
![]() | AggregateWhile<TAccumulate> | Applies an accumulator function over all TRecord records by ascending IRecord.RecordNumber. The specified seed value is used as the initial accumulator value. If at any point the function returns OASySDNA.Common.Optional<TValue>.None, the aggregation stops, the accumulated value from the previous iteration is returned, and no further records are locked. (Inherited from ) |
![]() | All | Checks if all TRecord in the table pass the predicate (Inherited from ) |
![]() | Any | Checks if any TRecord exists in the collection. (Inherited from ) |
![]() | Attach | Performs the function on a single record specified by a IRecord.RecordNumber matching the ptNum by attaching to a locked record rather than locking it. (Inherited from ) |
![]() | AttachInsteadOfLock | Connects this to a record/table in shared memory with the specified lockType. A database lock will not be created, but this will act as though it was, allowing operations such as read and write to occur. As a result, this operation should only be performed against records/tables that have already been locked in a different context. (Inherited from ) |
![]() | Count | Gets the total TRecord count in the collection. Creates a LockType.SAFE_READ lock on the table for the duration of getting the record count. |
![]() | CreateRecord | Creates a new record inside of the RealTime Database.
The function is executed prior to the record being written to the RealTime Database. All required key fields should be populated during this action (Name, Dataset). To abort record creation, return false. To confirm record creation, return true; The table must be unlocked when calling this. (Inherited from ) |
![]() | DeleteRecord | Deletes the record from the RealTime Database.
The table must be unlocked when calling this. (Inherited from ) |
![]() | DetachInsteadOfUnLock | Removes the internal attached lock state from the record/table, and does not modify the database lock state. (Inherited from ) |
![]() | Dispose | (Inherited from ) |
![]() | Exists | Determines if a record exists in the table with a IRecord.RecordNumber matching the ptNum. (Inherited from ) |
![]() | First | Performs the action on the first record in the collection, ordered by ascending IRecord.RecordNumber. (Inherited from ) |
![]() | FirstOrDefault | Performs the action on the first record in the collection if it exists, ordered by ascending IRecord.RecordNumber. If the collection is empty, then nothing happens. (Inherited from ) |
![]() | FirstOrNone<TResult> | Performs the function on the first record in the collection if it exists, ordered by ascending IRecord.RecordNumber, and returns the result. If the record does not exist, then None is returned. (Inherited from ) |
![]() | ForEach | Performs the action on all TRecord records, ordered by ascending IRecord.RecordNumber. (Inherited from ) |
![]() | GetFieldDescription | Gets a OASySDNA.RealTime.Data.Common.Schema.IFieldDescription for a field on a table. (Inherited from ) |
![]() | GetTableDescription | Gets a OASySDNA.RealTime.Data.Common.Schema.ITableDescription for the table. (Inherited from ) |
![]() | Lock | Locks this with the specified lockType. (Inherited from ) |
![]() | Map<TResult> | 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. (Inherited from ) |
![]() | ParallelForEach | Performs the action on all TRecord records in parallel. (Inherited from ) |
![]() | Range | For each TRecord between startingSlot (inclusive) and endingSlot (exclusive), performs action on that TRecord, ordered by ascending IRecord.RecordNumber. |
![]() | Select<TResult> | 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. (Inherited from ) |
![]() | SelectTogether<TResult> | Performs the function on a set of records together. A lock is held on all records in the collection simultaneously. (Inherited from ) |
![]() | Single | Performs the action on a single TRecord record specified by its ptNum. (Inherited from ) |
![]() | SingleOrNone | Performs the function on a single TRecord record specified by its recordNumber. (Inherited from ) |
![]() | TryFirst | Performs the action on the first record in the collection if it exists, ordered by ascending IRecord.RecordNumber, and returns true. If the record does not exist, then false is returned. (Inherited from ) |
![]() | TrySingle | Performs the action on a single TRecord record specified by its recordNumber. (Inherited from ) |
![]() | Unlock | Unlocks this. (Inherited from ) |
![]() | Where | Filters a sequence of records based on a predicate. (Inherited from ) |
![]() | WhereRecordNumberIsElementOf | Creates a collection of records filtered by IRecord.RecordNumber values included in recordNumbers. |
![]() | WithFilter<TFieldType> | Creates a collection filtered by records that have a key fieldName that matches value. |


