TXDataResourceType Enumeration
Identifies the kind of resource addressed by a request URL.
Remarks
Error: the URL could not be resolved, and the reason is described by the TXDataResourceInfo.ErrorCode and TXDataResourceInfo.ErrorMessage properties of the resource information.
EntitySet: an entity set, as in Customer or Customer/$count.
Entity: a single entity, as in Customer(1).
SimpleProperty: a simple property of an entity, as in Customer(1)/Name.
CollectionProperty: a navigation property that points to a collection of entities, as in Customer(1)/Orders.
EntityProperty: a navigation property that points to a single entity, as in Order(1)/Customer.
StreamProperty: a binary (stream) property of an entity, as in Customer(1)/Photo.
PropertyValue: the raw value of a simple property, as in Customer(1)/Name/$value.
Metadata: the metadata document, addressed by $metadata.
ServiceDocument: the service document, addressed by the root URL of the server.
Reference: the reference to the entity pointed by a navigation property, as in Order(1)/Customer/$ref.
Action: a service operation.
EntitySchema: the JSON schema of an entity set, as in Customer/$schema.
Model: the XData model, addressed by $model.
Syntax
Unit: XData.Module.ResourceInfo
Members
| Name | Value | Description |
|---|---|---|
| Error | 0 | |
| EntitySet | 1 | |
| Entity | 2 | |
| SimpleProperty | 3 | |
| CollectionProperty | 4 | |
| EntityProperty | 5 | |
| StreamProperty | 6 | |
| PropertyValue | 7 | |
| Metadata | 8 | |
| ServiceDocument | 9 | |
| Reference | 10 | |
| Action | 11 | |
| EntitySchema | 12 | |
| Model | 13 |