ILS_INVERTED_N
 
ILS_INVERTED_N
Category 
Dynamic view-related macro (server side)
Description 
This macro declares a server relation of type IlsInvertedRelationList as being accessible at runtime so that it can be used in view specifications. This runtime relation uses the accessors defined in the IlsInvertedRelationList class template.
With Rogue Wave® Server 4.0, this kind of runtime relation could not be modified—that is, no target could be added or removed. With Rogue Wave Server 4.1 and later, however, this limitation no longer exists. A runtime inverse relation declared using the macro ILS_INVERTED_N is editable if the direct relation is itself editable —that is, if it is associated with a modifier.
This macro can only be enclosed between the following pairs of macros:
*ILS_OBJECT_BEGIN/ILS_OBJECT_END
*ILS_ENTITY_BEGIN/ILS_ENTITY_END
*ILS_MVVIEW_BEGIN/ILS_MVVIEW_END
or their derivatives.
Header File 
<ilserver/rtmodel.h>
Synopsis 
ILS_INVERTED_N(originType,
targetType,
inverseRelation,
invertedRelation)
Arguments 
This macro takes the following arguments:
*originType is the type bearing the inverse relation.
*targetType is the target type for the inverse relation.
*inverseRelation is the name of the inverse relation.
*invertedRelation is the name of the relation which is inverted.
See Also 
ILS_INVERTED_1, IlsInvertedRelationList, ILS_R_RELATION_N

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.