Answered BDC - Specific Finder vs Finder

  • Wednesday, January 21, 2009 6:16 AM
     
     
    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

    Gautham S Pai | Posting is provided "AS IS" with no warranties, and confers no rights.

All Replies

  • Wednesday, January 21, 2009 7:36 AM
     
     Answered
    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.

    http://jardalu.blogspot.com
  • Wednesday, January 21, 2009 8:04 AM
     
     
    Super!!!

    Thanks a lot for the quick info
    Gautham S Pai | Posting is provided "AS IS" with no warranties, and confers no rights.
  • Thursday, March 29, 2012 1:47 PM
     
     
    Hum thanks will be a usefull concept ^^