From: Tom Sawyer Date: 2003-01-08T08:50:24+09:00 Subject: Re: Database to objects mapping library On Tuesday 07 January 2003 04:43 pm, Tom Sawyer wrote: > db / object mapping is done simply be using the same attribute names as the > field names in you database table. if that is a problem all you require is > to create a go between object that maps the two together. also i should note that it is essentially a one-to-one coorespondence, i.e. class<->table (object<->record), but it does handle subrecords (one-to-many) relationships between tables quite seemlessly. also, you can also alias your attributes to map them to the database fields if they differ in name. -- tom sawyer, aka transami transami@transami.net .''. .''. . *''* :_\/_: . :_\/_: _\(/_ .:.*_\/_* : /\ : .'.:.'. .''.: /\ : ./)\ ':'* /\ * : '..'. -=:o:=- :_\/_:'.:::. | ' *''* * '.\'/.' _\(/_'.':'.' : /\ : ::::: = *_\/_* -= o =- /)\ ' * '..' ':::' === * /\ * .'/.\'. '._____ * | *..* : |. |' .---"| * | _ .--'| || | _| | * | .-'| __ | | | || | .-----. | |' | || | | | | | || | ___' ' /"\ | '-."". '-' '-.' '` |_. ------------------------------------------------------------