It would be nice if DORM supported CoC.
For exemple: Consider this class:
type
TCustomer = class
public
property Id: Integer read FId write FId;
property Name: String read FName write FName;
property Age: Integer read FAge write FAge;
end;
The framework could assume that this class is mapped to a table called
CUSTOMER, and the properties are mapped to fields called ID, NAME and AGE. The
only mapping would be to inform the primary key field.
For cases where the programmer doesn't want to follow this convention (maybe on
legacy databases), he can simply do the manual mapping as we already do today
Original issue reported on code.google.com by magn...@gmail.com on 17 Nov 2011 at 6:48
Original issue reported on code.google.com by
magn...@gmail.com
on 17 Nov 2011 at 6:48