SOSelection Methods |
The SOSelection type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AddMember | AddMember
Adds a new member to the selection. (Inherited from ISelection.) |
![]() ![]() | 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 ISelection.) |
![]() ![]() | ChangeIdentity | Loads a different record into the object. Causes changes to the existing object to be saved first.
Saves the changes made on the selection model to the database. The last thing you do to an object if you want the changes you made to be saved. The ChangeIdenity method calls the save method first (Inherited from ISelection.) |
![]() | Clone | Clone this selection (Inherited from ISelection.) |
![]() ![]() | Delete | Delete the object from the database. May throw an error if you are not allowed to delete the object. (Inherited from ISelection.) |
![]() ![]() | RemoveMember | RemoveMember (Inherited from ISelection.) |
![]() ![]() | 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 on to the selection model to the database, does not return the new data from the database (Inherited from ISelection.) |
![]() ![]() | 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 selection. The SetDefaults method is only available for current objects in this version of SuperOfficeDB Type Library (Inherited from ISelection.) |