Class PersonPhoneSyncHelper
Inherited Members
Namespace: SuperOffice.CRM.Entities
Assembly: SoDataBase.dll
Syntax
public class PersonPhoneSyncHelper
Constructors
PersonPhoneSyncHelper()
Declaration
public PersonPhoneSyncHelper()
Methods
SetPhonesAsync(int, (PhoneType phoneType, string phoneNumber)[])
Set the phone numbers (of various types) for the given person id. This is a specialized function, and will delete any phone numbers not in the current parameters.
Declaration
public static Task SetPhonesAsync(int personId, (PhoneType phoneType, string phoneNumber)[] rawPhones)
Parameters
| Type | Name | Description |
|---|---|---|
| int | personId | ID of an existing person |
| (PhoneType phoneType, string phoneNumber)[] | rawPhones |
Returns
| Type | Description |
|---|---|
| Task |