Hi Nissim,

If we can come up with a solution to some of the problems I'll implement it for you.  
Two possible solutions I can list so far is:
1.  We could check if a table has only one primary key and let this be getID/setID
2.  If a table has a field with "id" appended to the table name we use this field.  
For example if a table customer has a field
customerid we use customerid as the id object. ( what about customer_id ? )

I tend to lean more towards number 2, because even if a table has more that one 
primary key we still get to use getID/setID.

I still need to complete some code to handle fields called "id" correctly with the new 
BaseObject, so I might as well do this while
I'm at it.

~ Leon



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to