Data Model overview - OData (2024)

  • Article

This section provides a high-level description of the Entity Data Model (EDM): the abstract data model that is used to describe the data exposed by an OData service. An OData Metadata Document is a representation of a service's data model exposed for client consumption.

The central concepts in the EDM are entities, relationships, entity sets, actions, and functions.

Entities

Entities are instances of entity types (e.g. Customer, Employee, etc.).

Entity types

Entity types are named structured types with a key. They define the named properties and relationships of an entity. Entity types may derive by single inheritance from other entity types.

The key of an entity type is formed from a subset of the primitive properties (e.g. CustomerId, OrderId, LineId, etc.) of the entity type.

Complex types

Complex types are keyless named structured types consisting of a set of properties. These are value types whose instances cannot be referenced outside of their containing entity. Complex types are commonly used as property values in an entity or as parameters to operations.

Properties

Properties declared as part of a structured type's definition are called declared properties. Instances of structured types may contain additional undeclared dynamic properties. A dynamic property cannot have the same name as a declared property. Entity or complex types which allow clients to persist additional undeclared properties are called open types.

Relationships

Relationships from one entity to another are represented as navigation properties. Navigation properties are generally defined as part of an entity type, but can also appear on entity instances as undeclared dynamic navigation properties. Each relationship has a cardinality.

Enumeration

Enumeration types are named primitive types whose values are named constants with underlying integer values.

Type definitions are named primitive types with fixed facet values such as maximum length or precision. Type definitions can be used in place of primitive typed properties, for example, within property definitions.

Entity sets

Entity sets are named collections of entities (e.g. Customers is an entity set containing Customer entities). An entity's key uniquely identifies the entity within an entity set. If multiple entity sets use the same entity type, the same combination of key values can appear in more than one entity set and identifies different entities, one per entity set where this key combination appears. Each of these entities has a different entity-id. Entity sets provide entry points into the data model.

Operations

Operations allow the execution of custom logic on parts of a data model. Functions are operations that do not have side effects and may support further composition, for example, with additional filter operations, functions or an action. Actions are operations that allow side effects, such as data modification, and cannot be further composed in order to avoid non-deterministic behavior. Actions and functions are either bound to a type, enabling them to be called as members of an instance of that type, or unbound, in which case they are called as static operations. Action imports and function imports enable unbound actions and functions to be called from the service root.

Singletons

Singletons are named entities which can be accessed as direct children of the entity container. A singleton may also be a member of an entity set.

An OData resource is anything in the model that can be addressed (an entity set, entity, property, or operation).

Data Model overview - OData (2024)
Top Articles
Content-Erfolg messen: Content-KPIs finden und überwachen | UPLOAD
Labour Day in Germany in 2023 | Office Holidays
Skyblock Ah History
Blackstone Launchpad Ucf
The Shoppes At Zion Directory
Vegas X Vip.org
159R Bus Schedule Pdf
Ink Free News Kosciusko County
Www Craigslist Com Juneau
Booked On The Bayou Houma 2023
Craigslist Placer County
What to see and do in Spokane, Washington
Nashville Tranny
Chs.mywork
Unlock the Fun: A Beginner's Guide to Playing TBG95 Unblocked Games at School and Beyond
Ter Reviews Boston
Bullocks Grocery Weekly Ad
Haunted Mansion Showtimes Near Roxy Lebanon
Hessaire Mini Split Remote Control Manual
Sites Like SkiptheGames Alternatives
Unblocked WTF, UBG9 Unblocked Games, UBGWTF Games, Unblocked WTF, WTF Games Unblocked
Zees Soles
Overton Funeral Home Waterloo Iowa
Bowser's Fury Coloring Page
New from Simply So Good - Cherry Apricot Slab Pie
Kfc $30 Fill Up Substitute Sides
360 Training Food Handlers Final Exam Answers 2022
Acb Message Board Yahoo
R/Maddenultimateteam
Restored Republic December 1 2022
BNSF Railway / RAILROADS | Trains and Railroads
Devil May Cry 3: Dante's Awakening walkthrough/M16
Keanu Reeves cements his place in action genre with ‘John Wick: Chapter 4’
Mikayla Campinos: The Rising Star Of EromeCom
Was Lil Mosey In Ride Along
Kare11.Com Contests
Speedstepper
Hotcopper Ixr
Lesley Ann Downey Transcript
FedEx zoekt een Linehaul Supervisor in Duiven | LinkedIn
Tires Shop Santoyo
Dan And Riya Net Worth In 2022: How Does They Make Money?
Lipidene Reviews 2021
Faze Teeqo Wiki
Israel Tripadvisor Forum
Honquest Obituaries
Sak Pase Rental Reviews
Watch Stephen Miller Have A Full Meltdown When Asked To Back Up Crime Claim With Facts
Bonbast قیمت ارز
Kingsport Weather Channel
2045 Union Ave SE, Grand Rapids, MI 49507 | Estately 🧡 | MLS# 24048395
Jaggers Nutrition Menu
Latest Posts
Article information

Author: Zonia Mosciski DO

Last Updated:

Views: 6413

Rating: 4 / 5 (51 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Zonia Mosciski DO

Birthday: 1996-05-16

Address: Suite 228 919 Deana Ford, Lake Meridithberg, NE 60017-4257

Phone: +2613987384138

Job: Chief Retail Officer

Hobby: Tai chi, Dowsing, Poi, Letterboxing, Watching movies, Video gaming, Singing

Introduction: My name is Zonia Mosciski DO, I am a enchanting, joyous, lovely, successful, hilarious, tender, outstanding person who loves writing and wants to share my knowledge and understanding with you.