
At design time, within the srv folder, you create an .cds file where you indicate the exposed database object, for example, table, view, calculation view, and so on, and the name of the Entity Set in the service.
On build, the application provides an OData service, exposing the object content under the given entity set name.