Each entityset corresponds to a service entrypoint, and can be accessed from a client.
entityset Activities for BusinessActivity;
It is possible to reduce the number of available data records by adding a where-clause on the entityset. The where-clause is then added automatically to the resulting query.
entityset CompletedActivities for BusinessActivity { where = "completion_date IS NOT NULL"; }
Note! The same entity can be exposed as several entity sets, but with different names.
Below follows guidelines for an entityset:
Do
Consider
Orders for Order
is not a recommended name if you have a where-clause only showing order in status Planned
. Consider naming the entityset PlannedOrders for Order
instead.Avoid