GetByKey Method (OperEntSpec)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified operation entity specification record from the Oper_Ent_Spec table.
public static DataSet GetByKey(
string processId,
string operId,
int stepNo,
int entId,
string verId,
string specId
)
Parameters
- processId
- Required. Holds the ID of the process that identifies the record to be retrieved.
- operId
- Required. Holds the ID of the operation that identifies the record to be retrieved.
- stepNo
- Required. Holds the step number that identifies the record to be retrieved.
- entId
- Required. Holds the ID of the entity that identifies the record to be retrieved.
- verId
- Required. Holds the specification version that identifies the record to be retrieved.
- specId
- Required. Holds that ID of the specification that identifies the record to be retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified operation entity specification in the Oper_Ent_Spec table. If no matching record for the specified operation entity specification is found, an empty DataSet is returned.