Method Element in Methods (BDCMetadata Schema)

Applies to: SharePoint Server 2010

Specifies a method of an external content type.

Namespace: https://schemas.microsoft.com/windows/2007/BusinessDataCatalog

Schema: BDCMetadata

<Method IsStatic = "Boolean" LobName = "String" Name = "String" DefaultDisplayName = "String" IsCached = "Boolean"> </Method>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

IsStatic

Optional.

Specifies whether the execution of this method requires an external item (EntityInstance) to serve as a context for execution. If set to true, the method represents a static method and does not require a specific EntityInstance to provide context for execution. If set to false, the method represents an instance method and requires an EntityInstance to provide the context for execution.

Default value: true

Attribute type: Boolean

LobName

Optional.

The name of the operation defined in the external system that is represented by this method.

Attribute type: String

Name

Required.

The name of this method.

Attribute type: String

DefaultDisplayName

Optional.

The default display name of the method.

Attribute type: String

IsCached

Optional.

Specifies whether this method is used frequently. If set to true, Business Data Connectivity (BDC) service caches this method in memory.

Default value: true

Attribute type: Boolean

Child Elements

Element

Description

LocalizedDisplayNames Element in MetadataObject (BDCMetadata Schema)

The localized display names of the method.

Properties Element in MetadataObject (BDCMetadata Schema)

The properties of the method.

AccessControlList Element (BDCMetadata Schema)

The access control list (ACL) of this method.

FilterDescriptors Element in Method (BDCMetadata Schema)

The filter descriptors of the method.

Parameters Element in Method (BDCMetadata Schema)

The parameters of the method. A method cannot have more than one return parameter.

MethodInstances Element in Method (BDCMetadata Schema)

The method instances of the method.

Parent Elements

Element

Description

Methods Element in Entity (BDCMetadata Schema)

A list of methods of an external content type.