In domain modelling, we can have name prefixes for the components of our models. They're optional, but useful, especially if reusability is a factor. This prefixing can be defined with either the namespace or the context directives, or a combination thereof. The latter directive is useful for nested namespace sections.
Regard this sample CDS model definition:
namespace outer.space;
context challenge {
entity main.Books {
key ID : Integer;
title : String;
}
}What is the fully qualified name of the entity here?
This is a question from the June Developer Challenge on CAP Knowledge. And don't forget: always submit your answer as a hash, on its own - read the Taking part section of the intro post for more info. At the end of today, this question will be updated with links to further reading on this topic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 30 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |