In the codegear forum, I posted this example code, to illustrate the Object-relational mapping (ORM) aspect of the framework :
People := TSQLPeople.Create;
try
People.Name := 'Smith';
People.Address := 'New York City';
People.BirthDate := Now;
ID := Client.Add(People);
finally
People.Free;
end;
Albert Drent posted this question:
What's the advantage above the usage of SQL?
with MyQuery do begin
sql.text := 'insert into people values ("Smith","New York City","2008-01-01")';
execSQL;
end;
