Click or drag to resize

IRelation Interface

A Relation links two records in the system. Currently used for activity links and for company/person links.

Namespace:  SuperOffice.COM.Application
Assembly:  SOCRM.Interop (in SOCRM.Interop.dll) Version: 8.0.0.0
Syntax
public interface IRelation : IModelBase

The IRelation type exposes the following members.

Properties
  NameDescription
Public propertyActiveText
ActiveText
Public propertyChanged
has record been changed since read?
Public propertyComment
Comment
Public propertyCreatedAssociate
The user that created the object
Public propertyCreatedDate
The date the object was saved to the database.
Public propertyExternalFieldChanged
have external fields been changed?
Public propertyGroupID
GroupId
Public propertyIdentity
The primary key on the primary table. Is zero for new objects. Is set when an object is saved.
Public propertyIsAvailable
is record available in db?
Public propertyIsRequiredFilled
Are all the required fields filled out? Can we save the record?
Public propertyIsValid
does the record exist?
Public propertyPassiveText
PassiveText
Public propertyReversed
Reversed
Public propertySentry
Sentry settings for this object. Lets you find out your read/write access to the object.
Public propertySourceRecord
SourceRecord object
Public propertySourceTable
SourceTable - derived from the SourceRecord
Public propertyTargetRecord
TargetRecord
Public propertyTargetTable
TargetTable
Public propertyType
Type
Public propertyUpdatedAssociate
The last user to modify the object
Public propertyUpdatedDate
The date of the most recent update.
Public propertyValidationMessage
get validation message, if empty model will think it is ok to save
Top
Methods
  NameDescription
Public methodCancelChanges
Undo any changes made since the object was loaded.
Public methodChangeIdentity
Loads a different record into the object. Causes changes to the existing object to be saved first.
Public methodDelete
Delete the object from the database. May throw an error if you are not allowed to delete the object.
Public methodSave
Persist the object to the database. May throw an error if you are not allowed to save changes to the object.
Public methodSetDefaults
Populate the object with default values, such as setting the owner to the current user.
Top
See Also