Condividi tramite


MethodInstanceType Enumeration

Represents the type of a MethodInstance.

Namespace:  Microsoft.BusinessData.MetadataModel
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
<DataContractAttribute> _
Public Enumeration MethodInstanceType
'Usage
Dim instance As MethodInstanceType
[DataContractAttribute]
public enum MethodInstanceType

Members

Member name Description
Finder A Finder MethodInstance identifies an operation on the external system that returns external items that match to the given criteria. Related method: FindFiltered.
SpecificFinder A SpecificFinder MethodInstance identifies an operation on the external system that returns an external item given the corresponding Identity. Related method: FindSpecific.
GenericInvoker A GenericInvoker MethodInstance identifies an operation on the external system that executes arbitrary business logic. Related method: ExecuteScalar(String, IFilterCollection, ILobSystemInstance).
IdEnumerator An IdEnumerator MethodInstance identifies an operation on the external system that returns minimal information about existing external items. Related method: EnumerateIdentities(IFilterCollection, ILobSystemInstance).
Scalar A Scalar MethodInstance identifies an operation on the external system that returns a single value as the result of arbitrary business logic. Related method: ExecuteScalar(String, IFilterCollection, ILobSystemInstance).
AccessChecker An AccessChecker MethodInstance identifies an operation on the external system that returns the rights of the current user on the external items corresponding to given Identity objects. Related method: CheckAccess([], ILobSystemInstance).
Creator A Creator MethodInstance identifies an operation on the external system that creates an external item. Related methods: Create and CreateWithFields.
Updater An Updater MethodInstance identifies an operation on the external system that modifies the given external item. Related method: Update().
Deleter A Deleted MethodInstance identifies an operation on the external system that deletes the external item. Related method: Delete().
ChangedIdEnumerator A ChangedIdEnumerator MethodInstance identifies an operation on the external system that returns minimal information about the external items that are modified after the given time. Related method: EnumerateChangedIdentities(DateTime, IFilterCollection, ILobSystemInstance).
DeletedIdEnumerator A DeletedIdEnumerator MethodInstance identifies an operation on the external system that returns minimal information about external items that are deleted after the given time. Related method: EnumerateDeletedIdentities(DateTime, IFilterCollection, ILobSystemInstance).
AssociationNavigator An AssociationNavigator MethodInstance identifies an operation on the external system that returns the external items that are related to the given external items. This MethodInstance is an Association. Related method: FindAssociated.
Associator An Associator MethodInstance identifies an operation on the external system that creates a relationship between the given external items. This MethodInstance is an Association. Related method: Associate(EntityInstanceCollection, IEntityInstance, IAssociation, ILobSystemInstance).
Disassociator A Disassociator MethodInstance identifies an operation on the external system that removes the relationship between given external items. This MethodInstance is an Association. Related method: Disassociate(EntityInstanceCollection, IEntityInstance, IAssociation, ILobSystemInstance).
StreamAccessor A StreamAccessor MethodInstance identifies an operation on the external system that returns streaming information about an external item corresponding to given Identity. Related method: GetData().
BinarySecurityDescriptorAccessor A BinarySecurityDescriptorAccessor MethodInstance identifies an operation on the external system that returns a security descriptor for the external item corresponding to the given Identity. Related method: GetSecurityDescriptor(Identity, ILobSystemInstance).
BulkSpecificFinder A BulkSpecificFinder MethodInstance identifies an operation on the external system that returns external items corresponding to the given Identity objects. Related method: FindSpecificMultiple.
BulkAssociatedIdEnumerator A BulkAssociatedIdEnumerator MethodInstance identifies an operation on the external system that returns the identities of all external items participating in a relationship that includes the given external items. This MethodInstance is an Association. Related method: BulkEnumerateAssociatedIds.
BulkAssociationNavigator A BulkAssociationNavigator MethodInstance identifies an operation on the external system that returns external items that are related to the given set of external items. This MethodInstance is an Association. Related method: FindAssociatedMultiple.
BulkIdEnumerator A BulkIdEnumerator MethodInstance identifies an operation on the external system that returns minimal information about the external items corresponding to the given Identity objects. Related method: BulkEnumerateIdentities(IList<Identity>, ILobSystemInstance).

Remarks

A MethodInstance can be one of several types. The type indicates to the Business Data Connectivity (BDC) service what class of operation the method supports, for example, finding one or more external items or creating a new external item.

Examples

Code Snippet: Implementing a Custom Connector

See Also

Reference

Microsoft.BusinessData.MetadataModel Namespace