IModelBase Interface |
Namespace: SuperOffice.COM.Application
The IModelBase type exposes the following members.
Name | Description | |
---|---|---|
![]() | Changed | has record been changed since read? |
![]() | CreatedAssociate | The user that created the object |
![]() | CreatedDate | The date the object was saved to the database. |
![]() | Identity | The primary key on the primary table. Is zero for new objects. Is set when an object is saved. |
![]() | IsAvailable | is record available in db? |
![]() | IsRequiredFilled | Are all the required fields filled out? Can we save the record? |
![]() | IsValid | does the record exist? |
![]() | UpdatedAssociate | The last user to modify the object |
![]() | UpdatedDate | The date of the most recent update. |
Name | Description | |
---|---|---|
![]() | CancelChanges | Undo any changes made since the object was loaded. |
![]() | ChangeIdentity | Loads a different record into the object. Causes changes to the existing object to be saved first. |
![]() | Delete | Delete the object from the database. May throw an error if you are not allowed to delete the object. |
![]() | Save | Persist the object to the database. May throw an error if you are not allowed to save changes to the object. |
![]() | SetDefaults | Populate the object with default values, such as setting the owner to the current user. |