>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
It can be quite tedius to this, but I would make sure the MM debug symbols are loaded (let me know if you need help with this part) and set a breakpoint in the SaveEntityList() method and step through until you verify what is happening. you can keep moving your breakpoint up as you narrow it down and keep watching your locals. It may be since you are getting back a rulesPassed that there is a data issue between what you are saving and the database. Verify you can actually save the values in you see in your entities by trying to save them to your datatable directly.
By the way are there any Guids in your data?
Tim
Timothy Bryan