2.50 Parameter

The Parameter element specifies a parameter to the query.

The following are the parent elements, attributes, and child elements of the Parameter element.

Parent elements

Parameters

Attributes

Parameter.Name

Child elements

Parameter.Cardinality

Parameter.DataType

Parameter.Expression

Parameter.Nullable

The following is the XML Schema definition of the Parameter element.          

 <xsd:complexType name="ParameterType">
   <xsd:all>
     <xsd:element name="DataType" type="LiteralDataTypeEnum" />
     <xsd:element name="Nullable" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="Cardinality" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="One" />
           <xsd:enumeration value="Many" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:element name="Expression" type="ExpressionType" minOccurs="0" />
   </xsd:all>
   <xsd:attribute name="Name" type="NonEmptyString" use="required" />
 </xsd:complexType>