clsTaskSourceCode¶
Read-only lookup entity representing one task source-system code row.
Purpose¶
- Expose a source-system code, its enum mapping, and its description from
TASK_SOURCE_CODE.
Context¶
- Namespace:
SAIF.Business.Tasks - Assembly/package:
SAIF.BOF.Business.Tasks
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| Code | ReadOnly Property As String |
Return the source-system code value. |
| Description | ReadOnly Property As String |
Return the source-system description. |
| TaskSourceSystem | ReadOnly Property As TaskSourceSystem |
Return the mapped TaskSourceSystem enum value for the row. |
| Equals(objA, objB) | Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean |
Compare two clsTaskSourceCode instances for equality by delegating to the instance overload; returns False if either argument is not a clsTaskSourceCode. |
| Equals(inObject) | Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean |
Compare this instance to an arbitrary object, delegating to the strongly typed overload when inObject is a clsTaskSourceCode. |
| Equals(inObject) | Overloads Function Equals(ByVal inObject As clsTaskSourceCode) As Boolean |
Compare this instance to another clsTaskSourceCode by Code value. |
| GetHashCode() | Overrides Function As Integer |
Return a hash code based on the code value. |
| ToString() | Overrides Function As String |
Return the source-system description. |
| GetCode(inDataPortalInfo, inCode) | Shared Function(ByVal inDataPortalInfo As iDataPortalInfo, ByVal inCode As String) As clsTaskSourceCode |
Retrieve one source-system row by code. |
| IsValid() | Public Shadows Function IsValid() As Boolean |
Report whether the instance was populated from a successful lookup row (i.e., the Code value was resolved). |
Behavioral notes¶
- Retrieves a single row through SQL-011.
Constraints and usage notes¶
- The
TaskSourceSystemenum is supplied by a dependency library rather than this assembly.
Sources¶
Business\SAIF.Business.Tasks\clsTaskSourceCode.vb