Which method type should you use?

You create an entity named Customer in a Business Connectivity Services (BCS) object model.

You need to ensure that Customer data can be displayed in a Business Data List Web Part.

Which method type should you use?

You create an entity named Customer in a Business Connectivity Services (BCS) object model.

You need to ensure that Customer data can be displayed in a Business Data List Web Part.

Which method type should you use?

A.
Finder

B.
Genericlnvoker

C.
IDEnumerator

D.
SpecificFinder

Explanation:
MNEMONIC RULE: “Finder for all Customer data”

The first method created is ReadItem, which allows you to retrieve a specific record from the external store based on an identifier. This is mapped to the XML metadata as a method instance of type SpecificFinder.

The second method that is created is ReadList, which retrieves all records from the external store. This is mapped in the XML metadata as a Finder method instance.

These are the minimum two methods that your entity needs to implement in order to serve as a connector for BCS.

Using Business Connectivity Services in SharePoint 2010
http://msdn.microsoft.com/en-us/magazine/ee819133.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *