Exception using FetchTypedList

Posts   
 
    
Bola
User
Posts: 14
Joined: 10-Jun-2005
# Posted on: 17-Jun-2005 12:49:01   

In Spanish: El prefijo de columna 'recumat_htor2.dbo.alm_und_consumos' no coincide con un nombre de tabla o con un alias usado en la consulta

"My" translation: The column's prefix 'recumat_htor2.dbo.alm_und_consumos' doesn't match with a table's name or an alias used in the query

This DB and this table works without problem in another WebForm using EntityCollection (not TypedList)

The line code is:

adapter.FetchTypedList(pedidos.GetFieldsInfo(), pedidos, filter,0,Sorter, false);
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 17-Jun-2005 13:12:46   

Be sure you base your filter on the RelationPredicateBucket you get back from peridos.GetRelationInfo().

Frans Bouma | Lead developer LLBLGen Pro
Bola
User
Posts: 14
Joined: 10-Jun-2005
# Posted on: 17-Jun-2005 13:31:43   

Exactly! That was the problem, thank you again!