Main Differences
As a general rule, use and ownership relations are very similar except as far as the following points are concerned:
An object cannot be owned by two different objects. Any attempt to own an object that is already owned will raise the exception
IlsAlreadyInserted. In contrast, an object can be used by many different objects.
An object of type
IlsEntity can be used but cannot be owned, as opposed to objects of type
IlsObject, which can be both owned and used.
An object that is not already owned cannot become a used object, if it is not an entity. Any attempt to do so would raise the exception
IlsUnOwnedUse provided that the function
IlsModel::SetIntegrityChecked has been called. For more information about this function, see the Rogue Wave® Server
Reference Manual.
Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.