Unable to Update Entity

Posts   
 
    
Posts: 1
Joined: 30-Mar-2010
# Posted on: 30-Mar-2010 07:55:15   

Hi,

I am new in LLBlgen. i need to update entity on some condition. i user following code but it is not updating entity disappointed

ClassificationTypesEntity classificationEntity = new ClassificationTypesEntity(); classificationEntity.Id = 8; classificationEntity.IsNew = false; classificationEntity.Classification = "test" classificationEntity.Save();

in the database, fields are ID(smallint, null), Classification (char(50), null) [NO PK]

Please helpppppppppppp.

Walaa avatar
Walaa
Support Team
Posts: 14994
Joined: 21-Aug-2005
# Posted on: 30-Mar-2010 11:14:18   

Please enable tracing and check if there is any update SQL statement is generated in the output window.