How does OData service works

OData services works through entity sets and entities. Data is represented in the form of Tables.

Tables are referred as Entity sets and the lines of record are referred as entities.

The Data is accessed through the following OData methods. These OData methods are referred as CRUD methods.

OData MethodHttp MethodDescription and its relation to sql command
CreatePOSTIt creates a new record. It is similar to INSERT command in SQL
ReadGETIt reads the records. It is similar to SELECT command in SQL.
The Read method from OData can be further classified.
For example, the Read method is used to read only one record.
The Query method is used to read more lines of record.
UpdateUPDATEIt updates the records. It is similar to UPDATE command in SQL
DeleteDELETEIt deletes the records. It is similar to DELETE command in SQL