Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Network:
Windows 2008 Server
Hi Tim,
This is a MM Web Service. The code that I have shown is inside a for loop that processes the incoming table one row at a time as part of an update web service.
I have stepped through the code. The values for lnRowCnt and inEntity.PKMOBWORKORDR are as they should be and after the entitylist.add the enititylist.count moves from 0 to 1 as it should if the entity was added. The saveentitylist then says that it worked as I would have expected , but the database still has no records.
I used a SetDataRow in the second line as there is no expicit conversion from datarow to entity so I created the entity and then set its datarow to the row from my table. This does set up the entity properly so far as its values
Tim
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement