![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
class CMDBRecordLink : public CommsDat::CMDBRecordLinkBase;
This container expresses a 'soft-link' to a record in another table.
The value of a CommsDat::CMDBRecordLink
field as stored in the database is the ElementId (
) of the linked record.
The linked record itself can be viewed via the iLinkedRecord member and its accessors
iLinkedRecord must be created explicitly by the client - either on construction, or by use of the CreateLinkL or SetLinkL functions. Often the linked record is not required by a caller. So creating it automatically would just waste memory
When instantiating iLinkedRecord directly take care to match the object's type to the Type ID that will be found at the linking element. It is better to use the CreateLinkL or SetLinkL functions to ensure type safety
Calling CommsDat::MMetaDatabase
functions on a CMDRecordLink field directly will perform the operation on the field and also the linked record if it is present
CommsDat::CMDBRecordLinkBase
- No description.
CommsDat::CMDBRecordLink
- This container expresses a 'soft-link' to a record in another table.