Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

BDC - Specific Finder vs Finder

  Asked By: Rachel Lewis         Date: Jul 24, 2009      Category: Sharepoint      Views: 750
 

Can someone tell me what is the difference betweeh SpecificFinder and Finder methods?

I came across a sample, that queries using CustomerID in NWind DB using Finder method
and another one that queries using CustomerID and City in NWind DB using SpecificFinder method

Tagged:        

 

1 Answer Found

 
Answer #1       Answered By: Jonathon Palmer          Answered On: Jul 24, 2009       

SpecificFinder is meant to find "one specific  instance" of the entity
Finder is meant to find "zero, one or more instances" for an entity

for example


Customer GetCustomer(int id);
Customer[] GetCustomers(string filter);

From the above methods, GetCustomer can become specific finder  whereas GetCustomers can become finder.

 
Didn't find what you were looking for? Find more on BDC - Specific Finder vs Finder Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].