OTX Reference  
OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbTableParameterKeyAsString Class Reference

Gets the value of the key associated with the DbParameter in the corresponding DbTable (MCDDbTableParameter). More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbTableParameterKeyAsString:
Inheritance graph

Public Attributes

DbParameterTerm dbParameter
 Cardinality [1]
The element addresses the DbParameter (MCDDbTableParameter) which value of the key shall be returned. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Cardinality [0..1]
The MetaData type allows tools to store additional, mainly tool-specific data. More...
 

Detailed Description

Gets the value of the key associated with the DbParameter in the corresponding DbTable (MCDDbTableParameter).

The GetDbTableParameterKeyAsString activity which returns the value of the key associated with the DbParameter in the corresponding DbTable (MCDDbTableParameter). If the DbParameter is not associated with a DbTable an empty string is returned.

Note: The appropriate MVCI system operation is MCDDbTableParameter::getKey::getValueAsString.

Exceptions
Exceptions.InvalidTypeExceptionIf the parameter is not of data type eTABLE_ROW
Syntax
StringTerm = DiagDataBrowsingPlus.GetDbTableParameterKeyAsString(DbParameterTerm dbParameter);
Examples
// Local Declarations
DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbParameter DbParameter;
String MyString;
// Flow
Parameter = DiagCom.GetParameterByPath(DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "SinglJob_WriteFinge")), {"IPA_ProgrDate"});
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
MyString = DiagDataBrowsingPlus.GetDbTableParameterKeyAsString(DbParameter);

Member Data Documentation

◆ dbParameter

DbParameterTerm OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbTableParameterKeyAsString.dbParameter

Cardinality [1]
The element addresses the DbParameter (MCDDbTableParameter) which value of the key shall be returned.

OpenTestSystem.Otx.Extensions.DiagDataBrowsingPlus.Terms.GetDbTableParameterKeyAsString.dbParameter
DbParameterTerm dbParameter
Cardinality [1] The element addresses the DbParameter (MCDDbTableParameter) which value of the key sh...
Definition: DiagDataBrowsingPlus.cs:10272