TXDataEntitySet Class
Represents an entity set, which publishes the automatic CRUD endpoints of an entity type.
Remarks
An entity set is a collection of entities of a given entity type, including entities of the types that inherit from it. Its name is the first segment of the URL of the CRUD endpoints, as in Customer or Customer(1). By default, the entity set has the same name as its entity type.
Syntax
Unit: XData.Model.Classes
TXDataEntitySet = class(TXDataModelObject);
Properties
| Name | Description |
|---|---|
| Container | Gets the entity container the entity set belongs to. |
| EntityType | Gets or sets the entity type of the entities in the entity set. |
| EntityTypeRef | Gets or sets the name of the entity type, used when the model is written to or read from JSON. |
| Name | Gets or sets the name of the entity set, used in the URL of its endpoints. |
| TagGroup | Gets or sets the tag group the tag of the entity set belongs to in the generated API documentation. |
| TagName | Gets or sets the tag under which the endpoints of the entity set are grouped in the generated API documentation. |