SOContact Methods |
The SOContact type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | CancelChanges | 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 (Inherited from IContact.) |
![]() ![]() | ChangeIdentity | Loads a different record into the object. Causes changes to the existing object to be saved first.
Saves the changes made to the contact model to the database. 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 (Inherited from IContact.) |
![]() | Copy | Creates a new copy of this contact, optionally with a copy of the persons belonging to it as well.
New in Seven. (Inherited from IContact.) |
![]() ![]() | Delete | Delete the object from the database. May throw an error if you are not allowed to delete the object.
Deletes the specified contact model from the database. This may take some time, since this will call a cascade delete on contact persons, phones, addresses, emails, URLs and so on (Inherited from IContact.) |
![]() | GetActivityList | (Inherited from IContact.) |
![]() ![]() | GetPersons | Get the persons attached to this contact. Hidden persons are filtered out.
(Inherited from IContact.) |
![]() ![]() | GetProjects | Get the projects that this contact's persons are members of. Duplicate projects are eliminated.
Get the projects that this contact's persons are members of. Duplicate projects are eliminated. (Inherited from IContact.) |
![]() ![]() | GetRelations | Get all relations with connection to this contact
(Inherited from IContact.) |
![]() | MergeTo | Merge this contact into the passed contact, together with the persons and appointments that belongs to this contact.
New in Seven. (Inherited from IContact.) |
![]() ![]() | Save | Persist the object to the database. May throw an error if you are not allowed to save changes to the object.
Saves the changes you made to the contact model to the database, does not return the new data from the database (Inherited from IContact.) |
![]() ![]() | SetDefaults | 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 contact (company). The SetDefaults method is only available for current objects in this version of SuperOfficeDB Type Library (Inherited from IContact.) |