Implementing a BulkSpecificFinder
마지막 수정 날짜: 2010년 4월 18일 일요일
적용 대상: SharePoint Server 2010
이 문서의 내용
Description
Syntax
Examples
Description
A BulkSpecificFinder method instance returns external items corresponding to given Identities.
This stereotype enables querying for multiple items given a collection of identifiers.
To support this stereotype, the corresponding method should take a collection of identifiers as input and return a detailed view for each of the items. All other requirements are exactly the same as for a specific finder.
The IEntityInstanceEnumerator returned from this method must throw a PartialBulkReadException on the MoveNext method, if the external system returns fewer items than requested after all the returned items have been enumerated. It must also throw a InvalidOperationException if the external system returns duplicate items or if it returns more items than requested.
This method returns an IEntityInstanceEnumerator.
Syntax
Following is the typical method signature for a BulkSpecificFinder:
EntityDataType[] GetEntityByIds(IdType1[] id1, idType2[] id2, ...)
Examples
Code Snippet: Implementing a BulkSpecificFinder
참고 항목
개념
XML Snippet: Modeling a BulkSpecificFinder Method
Code Snippet: Execute the BulkSpecificFinder Method Instance of an External Content Type