SAP
C_CPE_16 · Question #75
Your CAP project contains an entity called Books. You want to extend the Books entity with the managed aspect. You have already imported the aspect from the '@sap/cds/common' package (see code)…
The correct answer is B. entity Books: {. See the full explanation below for the reasoning.
Question
Your CAP project contains an entity called Books. You want to extend the Books entity with the managed aspect. You have already imported the aspect from the '@sap/cds/common' package (see code). using {managed} from '@sap/cds/common'; entity Books { key ID: UUID @(Core.computed: true); title: String; author: String; } Which is a valid way to extend the entity with the aspect?
Options
- Aentity Books: managed {
- Bentity Books: {
- Centity Books: { key ID
How the community answered
(44 responses)- A5% (2)
- B82% (36)
- C14% (6)
Community Discussion
No community discussion yet for this question.