Create a new contact in the database

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function CreateContact( _ 
ByVal first_name As String, _ 
ByVal last_name As String, _ 
ByVal email As String, _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID CreateContact( 
string first_name
string last_name
string email
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ CreateContact( 
String^ first_name
String^ last_name
String^ email
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function CreateContact( 
first_name : String
last_name : String
email : String
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

first_name
Type: string

the first name

last_name
Type: string

the last name

email
Type: string

the email address

db
Type: IDatabase

the db connect

Return Value

Type: EntityID

the id of the created contact

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1