GetAll Method (LaborDeptCatLink)
- Last UpdatedMar 17, 2026
- 2 minute read
The GetAll() method retrieves one or more labor department/category link records in the Labor_Dept_Cat_Link table, as specified by the filter parameters. Passing no filter parameters will retrieve all labor department/category link records from the table.
'Declaration
Public Shared Function GetAll( _
ByVal deptId As String, _
ByVal labCd As String, _
ByVal lastEditBy As String, _
ByVal lastEditAt As Nullable(Of Date) _
) As DataSet
'Usage
Dim deptId As String
Dim labCd As String
Dim lastEditBy As String
Dim lastEditAt As Nullable(Of Date)
Dim value As DataSet
value = LaborDeptCatLink.GetAll(deptId, labCd, lastEditBy, lastEditAt)
public static DataSet GetAll(
string deptId,
string labCd,
string lastEditBy,
Nullable<DateTime> lastEditAt
)
Parameters
- deptId
- Optional filter parameter. Holds the ID of a labor department.
- labCd
- Optional filter parameter. Holds the code of a labor category.
- lastEditBy
- Optional filter parameter. Holds the user who added or last changed this record.
- lastEditAt
- Optional filter parameter. Holds the date/time when this record was added or last edited.
Return Value
Returns a DataSet that contains all the records in the Labor_Dept_Cat_Link 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 |
|---|---|
|
dept_id |
A string that is the department ID. |
|
lab_cd |
A string that is the labor category code. |
|
last_edit_comment |
A string that contains comments about why the record was added or changed. |
|
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 indicates when the record was added or last updated. |