Entity Types
Complex Types
Associations
Entity Sets
Association Sets
Function Imports
Redefining Services
Data Model :
Describes the organization and relationship of data resources with
in a business scenario.
Data Model Elements:
Entity Types
Complex Types
Associations
Entity Sets
Association Sets
Function Imports
Entity Types :
Describe the structure of data in the Entity Data Model (EDM).
Entity types represent a specific type of data, for example an item
or a concept.
The structure of an entity type is provided by its Properties.
Properties define the characteristics of the data that an entity type instance
will contain at runtime.
An Entity Key is formed from a subset of the properties of the entity type.
Association :
An Association is a named relationship between two entity types.
Every association includes two association ends, which specify the entity
types that are related and the cardinality rules for each end of the
association.
Navigation Properties :
Describe the navigation path between the relationship of an
entity. It is the property of an Entity that represents a link from the Entity to
one or more related Entities.
Complex Types :
Complex types are structural types similar to an entity type; the main
difference is that complex types have no identity and cannot support
associations.
Unlike entity types, complex types cannot form either end of an
association between data objects, and therefore you cannot define
navigation properties for complex types.
Entity Sets :
Used to group together instances of an entity type together with
instances of any type that are derived from this particular entity type.
Association Sets :
An Association Set groups Association instances. Hence, it specifies a
relationship between two Entity Sets based on the respective Entity Types
of the underlying Association.
Function Imports :
Service operations that can be invoked by the HTTP methods GET or
POST for anything that cannot be mapped to the standard CRUD
operations.
Redefining Services :
Redefine a service
Extend the existing model
Overwrite existing model
Redefining Services from External Framework :
Service Provider Interface (SPI)
SAP Business Warehouse (BW)
Generic Interaction Layer (GenIL)
Thank You