 | modelRecordCollectionT, TRecordGetRecord Method (T, Boolean) |
imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the record using one of supplied arguments.
Namespace:
imbSCI.DataComplex.data.modelRecords
Assembly:
imbSCI.DataComplex (in imbSCI.DataComplex.dll) Version: 0.3.70.
Syntaxpublic virtual TRecord GetRecord(
T key,
bool autoCreateOnMissing = false
)
Request Example
View SourceParameters
- key
- Type: T
The key. - autoCreateOnMissing (Optional)
- Type: SystemBoolean
if set to true [automatic create on missing].
Return Value
Type:
TRecordRecord associated with the key
Exceptions| Exception | Condition |
|---|
| [!:aceCommonTypes.core.exceptions.dataException] | No valid arguments supplied: autoCreateOnMissing[" + autoCreateOnMissing + "] but " + nameof(key) + " not found. |
See Also