GetAll Method (Uom)
- Last UpdatedMar 17, 2026
- 2 minute read
The GetAll() method retrieves one or more uom records from the Uom table, as specified by the filter parameters. Passing no filter parameters will retrieve all uom records from the table.
'Declaration
Public Shared Function GetAll( _
ByVal uomId As Nullable(Of Integer), _
ByVal description As String, _
ByVal abbreviation As String, _
ByVal lastEditBy As String, _
ByVal lastEditAt As Nullable(Of Date) _
) As DataSet
'Usage
Dim uomId As Nullable(Of Integer)
Dim description As String
Dim abbreviation As String
Dim lastEditBy As String
Dim lastEditAt As Nullable(Of Date)
Dim value As DataSet
value = Uom.GetAll(uomId, description, abbreviation, lastEditBy, lastEditAt)
public static DataSet GetAll(
Nullable<int> uomId,
string description,
string abbreviation,
string lastEditBy,
Nullable<DateTime> lastEditAt
)
Parameters
- uomId
- Optional filter parameter. Holds the ID of a uom.
- description
- Optional filter parameter. Holds the description of a uom.
- abbreviation
- Optional filter parameter. Holds the abbreviation of a uom.
- lastEditBy
- Optional filter parameter. Holds the ID of the user who added or last updated a uom record.
- lastEditAt
- Optional filter parameter. Holds the date/time when a uom record was added or last updated.
Return Value
Returns a DataSet that contains all the records in the Uom 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 |
|---|---|
|
uom_id |
An integer that is the ID of the unit of measurement. |
|
description |
A string that is the description for the unit of measurement. |
|
abbreviation |
A string that is the abbreviation for this unit of measurement. |
|
last_edit_comment |
A string that contains comments about why the record was 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 indicates when the record was added or last updated. |