GetAll Method (CauseGrp)
- Last UpdatedNov 06, 2025
- 2 minute read
'Declaration
Public Shared Function GetAll( _
ByVal causeGrpId As Nullable(Of Integer), _
ByVal causeGrpDesc As String, _
ByVal spare1 As String, _
ByVal spare2 As String, _
ByVal spare3 As String, _
ByVal spare4 As String, _
ByVal lastEditBy As String, _
ByVal lastEditAt As Nullable(Of Date) _
) As DataSet
'Usage
Dim causeGrpId As Nullable(Of Integer)
Dim causeGrpDesc As String
Dim spare1 As String
Dim spare2 As String
Dim spare3 As String
Dim spare4 As String
Dim lastEditBy As String
Dim lastEditAt As Nullable(Of Date)
Dim value As DataSet
value = CauseGrp.GetAll(causeGrpId, causeGrpDesc, spare1, spare2, spare3, spare4, lastEditBy, lastEditAt)
public static DataSet GetAll(
Nullable<int> causeGrpId,
string causeGrpDesc,
string spare1,
string spare2,
string spare3,
string spare4,
string lastEditBy,
Nullable<DateTime> lastEditAt
)
Parameters
- causeGrpId
- Optional filter parameter. Holds the ID of the cause group that is being retrieved.
- causeGrpDesc
- Optional filter parameter. Holds the description of the cause group that is being retrieved.
- spare1
- Optional filter parameter. Holds the contents of a user-defined spare1 field.
- spare2
- Optional filter parameter. Holds the contents of a user-defined spare2 field.
- spare3
- Optional filter parameter. Holds the contents of a user-defined spare3 field.
- spare4
- Optional filter parameter. Holds the contents of a user-defined spare4 field.
- lastEditBy
- Optional filter parameter. Holds the user who added or last changed a cause group record.
- lastEditAt
- Optional filter parameter. Holds a date/time when cause group records were added or last modified.
Return Value
Returns a DataSet that contains all the records in the Cause_Grp 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 |
|---|---|
|
cause_grp_id |
An integer that is the ID of the cause group. |
|
cause_grp_desc |
A string that is the description of the cause group. |
|
display_seq |
An integer that is the order of display when displaying all the cause groups in the user interface. |
|
spare1 |
A string that is the content of the user-defined spare1 field. |
|
spare2 |
A string that is the content of the user-defined spare2 field. |
|
spare3 |
A string that is the content of the user-defined spare3 field. |
|
spare4 |
A string that is the content of the user-defined spare4 field. |
|
last_edit_comment |
A string that contains comments about why the record was 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 specifies when the record was added or last updated. |