Using the Identity Type in the Company Server Model
In the class Employee, the name entry data member is replaced by the identity entry data member:
class Employee : public IlsObject {
...
IlsEntry<Identity> identity;
...
};
The macro that declares identity as a runtime attribute is enclosed between the macros that declare the server runtime type Employee, as follows:
ILS_OBJECT_BEGIN(Employee)
...
ILS_ENTRY_USERTYPE(Employee,Identity,identity)
...
ILS_OBJECT_END(Employee)
Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.