update()
The Database.update() function updates the database with values contained in the concept.
Example
try
{
Database.setCurrentConnection ("/MyDbConnection");
Database.beginTranscation ();
/*the instance passed to update operation is an instance of the dbconcept*/
Database.update(instance)
Database.commit();
}
catch (Exception e)
{
Database.rollback();
}
finally
{
Database.unsetConnection();
}
Related reference
Copyright © Cloud Software Group, Inc. All rights reserved.
