} Entity Set Entity sets are top-level collection-valued resources. An entity set is identified by its name, a that MUST be unique within its entity container. An entity set MUST specify a type that MUST be an entity type in scope. An entity set MUST contain only instances of its specified entity type or its subtypes. The entity type MAY be but MUST have a defined. An entity set MAY indicate whether it is included in the service document. If not explicitly indicated, it is included. Entity sets that cannot be queried without specifying additional query options SHOULD NOT be included in the service document. Entity Set Object An entity set is represented as a member of the entity container object whose name is the name of the entity set and whose value is an object. The entity set object MUST contain the member $Kind with a string value of EntitySet, and the member $Type whose string value is the qualified name of an entity type. It MAY contain the members and as well as . $IncludeInServiceDocument $IncludeInServiceDocument The value of $IncludeInServiceDocument is one of the Boolean literals true or false. Absence of the member means true. Singleton Singletons are single-valued resources. A singleton is identified by its name, a that MUST be unique within its entity container. A singleton MUST specify a type that MUST be an entity type in scope. A singleton MUST reference an instance its entity type. Singleton Object A singleton is represented as a member of the entity container object whose name is the name of the singleton and whose value is an object. The singleton object MUST contain the member $Kind with a string value of Singleton, and the member $Type whose string value is the qualified name of an entity type. It MAY contain the member as well as . Navigation Property Binding If the entity type of an entity set or singleton declares navigation properties, a navigation property binding allows describing which entity set or singleton will contain the related entities. An or a SHOULD specify a navigation property binding for each of its entity type, including navigation properties defined on complex typed properties or derived types. If omitted, clients MUST assume that the target entity set or singleton can vary per related entity. Binding Path A navigation property binding MUST specify a path to a navigation property of the entity set’s or singleton's declared entity type, or a navigation property reached through a of type casts, complex
} Entity Set Entity sets are top-level collection-valued resources. An entity set is identified by its name, a that MUST be unique within its entity container. An entity set MUST specify a type that MUST be an entity type in scope. An entity set MUST contain only instances of its specified entity type or its subtypes. The entity type MAY be but MUST have a defined. An entity set MAY indicate whether it is included in the service document. If not explicitly indicated, it is included. Entity sets that cannot be queried without specifying additional query options SHOULD NOT be included in the service document. Entity Set Object An entity set is represented as a member of the entity container object whose name is the name of the entity set and whose value is an object. The entity set object MUST contain the member $Kind with a string value of EntitySet, and the member $Type whose string value is the qualified name of an entity type. It MAY contain the members $IncludeInServiceDocument and as well as . $IncludeInServiceDocument The value of $IncludeInServiceDocument is one of the Boolean literals true or false. Absence of the member means true. Singleton Singletons are single-valued resources. A singleton is identified by its name, a that MUST be unique within its entity container. A singleton MUST specify a type that MUST be an entity type in scope. A singleton MUST reference an instance its entity type. Singleton Object A singleton is represented as a member of the entity container object whose name is the name of the singleton and whose value is an object. The singleton object MUST contain the member $Kind with a string value of Singleton, and the member $Type whose string value is the qualified name of an entity type. It MAY contain the member as well as . Navigation Property Binding If the entity type of an entity set or singleton declares navigation properties, a navigation property binding allows describing which entity set or singleton will contain the related entities. An or a SHOULD specify a navigation property binding for each of its entity type, including navigation properties defined on complex typed properties or derived types. If omitted, clients MUST assume that the target entity set or singleton can vary per related entity. Binding Path A navigation property binding MUST specify a path to a navigation property of the entity set’s or singleton's declared entity type, or a navigation property reached through a of type casts, complex
odata-csdl-json-v4.01-wd02-2017-08-10.docx