GetByKey Method (EntLink)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified entity link from the Ent_Link table.
'Declaration
Public Shared Function GetByKey( _
ByVal parentEntId As Integer, _
ByVal childEntId As Integer _
) As DataSet
public static DataSet GetByKey(
int parentEntId,
int childEntId
)
Parameters
- parentEntId
- Required. Holds the ID of the parent entity.
- childEntId
- Required. Holds the ID of the parent entity.
Return Value
Returns a DataSet that contains the DataRow of the specified entity link in the Ent_Link table. If no matching record for the specified entity is found, an empty DataSet is returned.