What is the correct syntax to use common types for model reuse?

What is the correct syntax to use common types for model reuse?
A . using { Country } using ‘@sap/cds/common’;entity Addresses {town : String;country :
Country;}
B. using { Country } extract from ‘@sap/cds/common’;entity Addresses { town : String;
country
:Country; }
C. using { Country } from ‘@sap/cds/common’;entity Addresses { town : String; country :
Country;
}
D. using { Country } in ‘@sap/cds/common’;entity Addresses {town : String;country :
Country; }

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments