C# Workmates API
 All Classes Namespaces Functions Variables Enumerations Enumerator
static ReturnCode InsertWorkmate ( int  workmateId,
Workmate  workmate 
)
inlinestatic

The function inserts Workmate into database with the defined id.

Parameters
workmateIdthe id of the new workmate
workmatethe workmate structure Workmate to be inserted
Returns
ReturnCode enumeration

The function inserts a new workmate into database.
If the database already constains a workmate with the same id the function fails with the return code WorkmateAlreadyDefined.

Possible ReturnCodes result values:

See also
DeleteWorkmate UpdateWorkmate ClearAll