Click or drag to resize

IPerson Methods

The IPerson type exposes the following members.

Methods
  NameDescription
Public methodAddConsentByIds
Add ConsentPerson by ConsentPurpose Id, LegalBase Id, ConsentSource Id, Comment. All parameters will be verified!
Public methodAddConsentByNames
Add ConsentPerson by ConsentPurpose Name, LegalBase Name, ConsentSource Name, Comment. All parameters will be verified!
Public methodAddConsentByRecord
Add ConsentPerson by ConsentPerson. All identy parameters will be verified!
Public methodCode exampleCancelChanges
Undo any changes made since the object was loaded. If you made changes to the model that you don’t want to be saved to the database, call the CancelChanges method
Public methodCode exampleChangeIdentity
Loads a different record into the object. Causes changes to the existing object to be saved first. Saves the changes made to the person model to the database, and retrieves the new data from the database again. The last thing you do to an object if you want the changes you made to be saved. The ChangeIdentity method calls the save method first
Public methodCode exampleDelete
Delete the object from the database. May throw an error if you are not allowed to delete the object.
Public methodGetConsentById
Get ConsentPerson for given ConsentPurpose Id
Public methodGetConsentByName
Get ConsentPerson for given ConsentPurpose unique key name
Public methodGetRelations
Get all relations with connection to this person
Public methodIsShipmentTypeReserved
Is ShipmentType reserved?
Public methodMergeTo
Merges this person into the other person, optionally together with his appointments
Public methodMoveTo
Moves a person to a new contact, optionally together with his appointments
Public methodRemoveConsentById
Remove ConsentPerson by ConsentPurpose Id
Public methodRemoveConsentByName
Remove ConsentPerson by ConsentPurpose Name
Public methodCode exampleSave
Persist the object to the database. May throw an error if you are not allowed to save changes to the object.
Public methodCode exampleSetDefaults
Populate the object with default values, such as setting the owner to the current user. Uses the UserPreferences table to set the predefined default settings for a person. The SetDefaults method is only available for current in this version of SuperOfficeDB Type Library
Public methodSetShipmentTypeReserved
Set ShipmentType reserved
Top
See Also