CollectionFor<TRecord> Method (IDataContext)
- Last UpdatedApr 08, 2026
- 1 minute read
Resolves the record collection of the specified TRecord. The same instance of the record collection will be returned per thread.
IRecordCollection<TRecord> CollectionFor<TRecord>()
where TRecord: class, IRecord, ILockable, IDisposable, IAttachable
IRecordCollection<TRecord^>^ CollectionForgeneric<typename TRecord>
();
where TRecord: ref class, IRecord, ILockable, IDisposable, IAttachable
Type Parameters
- TRecord
- The record type to get the collection for.
Return Value
A record collection for TRecord.