Can't find GetMulti

Posts   
 
    
jeffsic
User
Posts: 5
Joined: 13-Feb-2006
# Posted on: 13-Feb-2006 23:59:11   

I'm a newbie and I'm sure I have something out of whack but I want to use the GetMutil method for a collection but I can't find it.

Info: I am generating with Adapter vs.net 2005, sql 2005 database and C#. I have a table called Item. When I try to access the entity class and retrive a single row I have no problem but when I try get to the entityCollection thru the helper class it doesn't have a GetMulti method available for me to chose.

Any help would be appreciated.

Jeff

JimHugh
User
Posts: 191
Joined: 16-Nov-2005
# Posted on: 14-Feb-2006 00:15:28   

GetMulti is specific to Self-Servicing.

For Adapter, use FetchEntityCollection.


' VB.NET
Using adapter As New DataAccessAdapter()
   Dim allCustomers As New EntityCollection(New CustomerEntityFactory())
   adapter.FetchEntityCollection(allCustomers, Nothing)
End Using