} } Action Import Action imports sets are top-level resources that are never included in the service document. An action import is identified by its name, a that MUST be unique within its entity container. An action import MUST specify the name of an unbound action in If the imported action returns an entity or a collection of entities, a or value MAY be specified to identify the entity set that contains the returned entities. If a is specified, it MUST resolve to an entity set defined in the same entity container. If a is specified, it MUST resolve to an entity set in scope. Action Import Object An action import is represented as a member of the entity container object whose name is the name of the action import and whose value is an object. The action import object MUST contain the member $Kind with a string of ActionImport, and the member $Action. It MAY contain the member $EntitySet. It MAY also contain . $Action The value of $Action is a string containing the qualified name of an unbound action. $EntitySet The value of $EntitySet is a string containing either the unqualified name of an entity set in the same entity container or a path to an entity set in a different entity container. Function Import Function imports sets are top-level resources. A function import is identified by its name, a that MUST be unique within its entity container. A function import MUST specify the name of an unbound function in scope. All of the imported function can be invoked from the entity container. If the imported function returns an entity or a collection of entities, a or value MAY be specified to identify the entity set that contains the returned entities. If a is specified, it MUST resolve to an entity set defined in the same entity container. If a is specified, it MUST resolve to an entity set in scope. A function import for a parameterless function MAY indicate whether it is included in the service document. If not explicitly indicated, it is not included. Function Import Object A function import is represented as a member of the entity container object name is the name of the function import and whose value is an object. The function import object MUST contain the member $Kind with a string value of FunctionImport, and the member $Function. It MAY contain the members $EntitySet and $IncludeInServiceDocument. It MAY also contain . $Function The value of $Function is a string containing the qualified name of an unbound function.
} } Action Import Action imports sets are top-level resources that are never included in the service document. An action import is identified by its name, a that MUST be unique within its entity container. An action import MUST specify the name of an unbound action in If the imported action returns an entity or a collection of entities, a or value MAY be specified to identify the entity set that contains the returned entities. If a is specified, it MUST resolve to an entity set defined in the same entity container. If a is specified, it MUST resolve to an entity set in scope. Action Import Object An action import is represented as a member of the entity container object whose name is the name of the action import and whose value is an object. The action import object MUST contain the member $Kind with a string of ActionImport, and the member $Action. It MAY contain the member $EntitySet. It MAY also contain . $Action The value of $Action is a string containing the qualified name of an unbound action. $EntitySet The value of $EntitySet is a string containing either the unqualified name of an entity set in the same entity container or a path to an entity set in a different entity container. Function Import Function imports sets are top-level resources. A function import is identified by its name, a that MUST be unique within its entity container. A function import MUST specify the name of an unbound function in scope. All of the imported function can be invoked from the entity container. If the imported function returns an entity or a collection of entities, a or value MAY be specified to identify the entity set that contains the returned entities. If a is specified, it MUST resolve to an entity set defined in the same entity container. If a is specified, it MUST resolve to an entity set in scope. A function import for a parameterless function MAY indicate whether it is included in the service document. If not explicitly indicated, it is not included. Function Import Object A function import is represented as a member of the entity container object name is the name of the function import and whose value is an object. The function import object MUST contain the member $Kind with a string value of FunctionImport, and the member $Function. It MAY contain the members $EntitySet and $IncludeInServiceDocument. It MAY also contain . $Function The value of $Function is a string containing the qualified name of an unbound function.
odata-csdl-json-v4.01-csprd01.docx