Update Object

In DObject O/R Mapping persistence layer, it's simple to update object: to get an object and assigning its properties and then "Save" it as follows:

var

  customer : ICustomer;

begin

  customer := TCustomer.GetByCustomerID(ObjectManager, 'ATEST');

  customer.Country := 'China';

  customer.Save;

end;

Related Topics

Using Persistence Layer
Update Object in Batches
Using Filter
Using OQL