2.2.4.46 MethodStruct

Namespace: Microsoft.SharePoint.BusinessData

The MethodStruct complex type contains information about a Method.

 <xs:complexType name="MethodStruct" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:complexContent mixed="false">
     <xs:extension base="q8:MetadataObjectStruct">
       <xs:sequence>
         <xs:element minOccurs="0" name="entityId" type="xs:unsignedInt"/>
         <xs:element minOccurs="0" name="isStatic" type="xs:boolean"/>
         <xs:element minOccurs="0" name="lobName" nillable="true" type="xs:string"/>
       </xs:sequence>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

entityId: The MetadataObjectId of the Entity that contains the Method. This element MUST be present.

isStatic: A value which specifies if the Method is associated with an EntityInstance. This element MUST be present. The value MUST be in the following table.

Value

Description

False

The Method operates in the context of a specific EntityInstance.

True

The Method operates out of the context of a specific EntityInstance.

 

lobName: The name of the line-of-business (LOB) system operation that is represented by this Method. This element MUST be present. The value of this element MUST NOT be NULL. An application that utilizes the protocol client MUST use this name when calling LOB system operations. For example, an LOB system operation named "GetCus_1" can be represented by a Method with name equal to "Get Customer". The lobName element of this Method needs to be "GetCus_1".