CDS - wridgeu/wridgeu.github.io GitHub Wiki
Introduction
This is a collection of several slides from one of the openSAP courses, regarding the topic 'What is CDS?' and some of it's domain specific languages.
Overview
What is CDS?
- CDS stands for Core Data Services
- It is a set of domain-specific languages
- The backbone of the SAP Cloud Application Programming Model
Definition Language (CDL)
Entities
Views
Associations
Aspects
Types
Service definitions
images/cdlservicedefinitions.png
Core Schema Notation (CSN)
- A compact JSON representation of data and service models
- Similiar to JSON Schema but goes beyond with the ability to capture full-blown entity-relationship models
- Perfect source to generate target models, such as OData/EDM interfaces, as well as persistance models for SQL or NoSQL databases
Query Language (CQL)
CDS QL is based on standard SQL with some enhancements: