GetAll(String,String,String,String,String,Nullable<DateTime>) Method
- Last UpdatedNov 06, 2025
- 3 minute read
The GetAll() method retrieves one or more entity attribute records from the Ent_Attr table, as specified by the filter parameters. Passing no filter parameters will retrieve all entity attributes records from the table.
This overload of the method uses the entity name and attribute description to filter by entity and attribute. It also includes a site name filter parameter.
'Declaration
Public Overloads Shared Function GetAll( _
ByVal entityName As String, _
ByVal siteName As String, _
ByVal attrDescription As String, _
ByVal attrValue As String, _
ByVal lastEditBy As String, _
ByVal lastEditAt As Nullable(Of Date) _
) As DataSet
public static DataSet GetAll(
string entityName,
string siteName,
string attrDescription,
string attrValue,
string lastEditBy,
Nullable<DateTime> lastEditAt
)
Parameters
- entityName
- Optional filter parameter. Holds the name of an entity whose attribute records are being retrieved.
- siteName
- Optional filter parameter. Holds the name of a site.
- attrDescription
- Optional filter parameter. Holds the description of an attribute.
- attrValue
- Optional filter parameter. Holds the value of an attribute.
- lastEditBy
- Optional filter parameter. Holds the ID of a user who created or last updated an entity attribute record.
- lastEditAt
- Optional filter parameter. Holds the date and time when an entity attribute record was created or last updated.
Return Value
Returns a DataSet that contains all the records in the Entity_Attr table that satisfy the specified filters. If no matching records are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
Column Name |
Description |
|---|---|
|
ent_id |
An integer that is the ID of the entity to which the attribute applies. |
|
ent_name |
A string that is the name of the entity to which the attribute applies. From the ent_name column in the Ent table linked to this ent_id. |
|
attr_id |
An integer that is the attribute ID. |
|
attr_value |
A string that is the value for this attribute. The contents of this field depend on the data type specified in the data_type column. |
|
notes |
A string that is any notes for this attribute. |
|
attr_desc |
A string that is the description of the attribute. From the attr_desc column of the Attr table linked by the attr_id. |
|
predefined |
A Boolean that is a flag that specifies whether the attribute has a defined set of values in the Attr_Set table. |
|
data_type |
An integer that is an enumeration that indicates the data type of the attribute, from the Attr table. 0 = string (<= 80 characters; the default data type) 1 = drop-down list of values defined in the Attr_Set table 2 = integer 3 = currency 4 = color 5 = datetime 6 = floating point number 7 = percent 8 = check box 9 = non-editable 10 = time of day 11 = item reason (only if attr_grp = 3) 12 = long string (> 80 characters) |
|
entry_type |
An integer that is an enumeration that indicates the type of entry to allow for this attribute, from the Attr table. 0 = value only (the default) 1 = notes only 2 = value and notes |
|
visible_in_queue |
A Boolean that is a flag that specifies whether this attribute is visible in the queue. From the visible_in_queue column of the Attr table link by the attr_id. |
|
visible_in_inv |
A Boolean that is a flag that specifies whether this attribute is visible in the inventory. From the visible_in_inv column of the Attr table linked by the attr_id. |
|
last_edit_comment |
A string that holds any comments about why this record was added or last updated. |
|
last_edit_by |
A string that is the ID of the user who added or last updated this record. |
|
last_edit_at |
A datetime that is when the record was added or last updated. |