Like standard operations, non-standard multiple read operations use an input parameter which you designate as the key structure for the operation. The return value that you specify in the UML meta-model is a structure containing the attributes that you want returned for each record read from the database. The return value in the generated code is a list of the structure that you specified in the meta-model (the structure containing the list is automatically generated).
- Parameters - A non-standard key struct to specify the search criteria for which record(s) to retrieve. The members of the struct must be a subset of the fields of the entity.
- Return Value - A non-standard details struct to specify which attributes are to be returned from the readmulti operation. The members of this struct must be a subset of the fields of the entity.
- Generator action - The generator will create a list wrapper for the non-standard details struct specified by the developer, and use this as the return value for the operation.