clsPhoneInfo¶
clsPhoneInfo provides the reusable standalone phone record.
Purpose¶
- Reusable standalone phone record.
Context¶
- Namespace:
SAIF.Business.CustomerContact.InfoItems - Assembly/package:
SAIF.BOF.Business.CustomerContact
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| PhoneID | Public ReadOnly Property PhoneID() As Decimal |
Returns or sets the phone identifier exposed by this type. |
| PhoneCode | Public Property PhoneCode() As String |
Returns or sets the phone classification code. |
| IsLongDistance | Public ReadOnly Property IsLongDistance As Boolean |
Returns the boolean state exposed by this type. |
| PhoneTypeDescription | Public ReadOnly Property PhoneTypeDescription As String |
Returns the descriptive text for the current phone code. |
| UpdateDate | Public ReadOnly Property UpdateDate As Date |
Returns the date value exposed by this type. |
| UpdateUser | Public ReadOnly Property UpdateUser As String |
Returns the user field exposed by this type. |
| SetPhoneCodeNull | Public Sub SetPhoneCodeNull() |
Clears the PhoneCode value and marks the object dirty. |
| IsPhoneCodeNull | Public Function IsPhoneCodeNull() As Boolean |
Returns whether the PhoneCode value is empty. |
| Equals | Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean |
Compares objects using this type's identity field(s). |
| Equals | Public Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean |
Compares objects using this type's identity field(s). |
| Equals | Public Overloads Function Equals(ByVal inObject As clsPhoneInfo) As Boolean |
Compares objects using this type's identity field(s). |
| GetHashCode | Public Overrides Function GetHashCode() As Integer |
Returns a hash code derived from the type's identifier. |
| ToString | Public Overrides Function ToString() As String |
Returns a compact string representation for this type. |
| NewPhone | Public Shared Function NewPhone(ByVal inDataportal As IDataPortalInfo) As clsPhoneInfo |
Creates a new business object through the BOF data portal. |
| GetPhone | Public Shared Function GetPhone(ByVal inDataportal As IDataPortalInfo, ByVal inPhoneID As Decimal) As clsPhoneInfo |
Retrieves an existing business object through the BOF data portal. |
Behavioral notes¶
- Factory methods route creation and retrieval through the BOF data portal.
Constraints and usage notes¶
- Set the classification code and phone value before saving a usable phone record.
Sources¶
Business\SAIF.Business.CustomerContact\InfoItems\clsPhoneInfo.vb