GetByKey(String,String,String) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified entity attribute record from the Ent_Attr table.
This overload of the method uses the entity name and attribute description to identify the entity and attribute. It also includes a site name filter parameter.
'Declaration
Public Overloads Shared Function GetByKey( _
ByVal entityName As String, _
ByVal siteName As String, _
ByVal attrDescription As String _
) As DataSet
public static DataSet GetByKey(
string entityName,
string siteName,
string attrDescription
)
Parameters
- entityName
- Required. Holds the name of an entity whose attribute records are being retrieved.
- siteName
- Optional. Holds the name of site.
- attrDescription
- Required. Holds the description of attribute.
Return Value
Returns a DataSet that contains the DataRow of the specified entity attribute in the Ent_Attr table. If no matching record for the specified entity attribute is found, an empty DataSet is returned.