Professional Documents
Culture Documents
Common Annotation in CDS
Common Annotation in CDS
Find here a reference and glossary of common annotations intrinsically supported by the CDS
compiler and runtimes.
General Purpose
@title Common.Label
Core.Descriptio
@description
n
Access Control
Annotatio
Description
n
@restrict see Authorization
Annotatio
Description
n
@requires see Authorization
Input Validation
Annotation Description
Services / APIs
Annotation Description
@path see Services
@cds.api.ignore see OData
Persistence
Annotation Description
@cds.persistence.exist
s
tells compile.to.sql this is created otherwise
@cds.persistence.skip tells the compiler, this entity shall not exist in database at all
OData
Learn more about OData Annotations in CDS.
Shortcuts:
Annotation Description
@odata.Type see OData
@odata.MaxLength see OData
@odata.Precision see OData
@odata.Scale see OData
@odata.singleton see OData
Annotation Description
@Core.IsMediaTyp
e
see Media Data
@Capabilities... see Fiori