Re: autoadd class properties

2006-12-08 Thread Gabriel Genellina
On 8 dic, 20:59, "manstey" <[EMAIL PROTECTED]> wrote: > We've looked at them a little. Cache is a native OO dbase, so there is > no ORM required. Cache does that for you behind the scenes if you need > it to. What I want is to translate Cache classes and properties into > Python classes and prope

Re: autoadd class properties

2006-12-08 Thread George Sakkis
manstey wrote: > We've looked at them a little. Cache is a native OO dbase, so there is > no ORM required. Cache does that for you behind the scenes if you need > it to. What I want is to translate Cache classes and properties into > Python classes and properties. We can only use class wrappers, b

Re: autoadd class properties

2006-12-08 Thread manstey
Hi, Cache is a pure OO dbase, so no ORM is required. Cache provides a python equivalent for the Cache class, but not for the Cache properties. Instead, the programmer has to know in advance the properties and their type to get and set them. I want to wrap the Python-cache class and add the Cache p

Re: autoadd class properties

2006-12-08 Thread manstey
We've looked at them a little. Cache is a native OO dbase, so there is no ORM required. Cache does that for you behind the scenes if you need it to. What I want is to translate Cache classes and properties into Python classes and properties. We can only use class wrappers, because cache uses old st

Re: autoadd class properties

2006-12-08 Thread George Sakkis
manstey wrote: > I have a ClassWrapper that wraps around a third party database object. > Each database object has a set of properties, like columns in a > relational database. > > I want my wrapper to generate a property for each database object and > load its value into it. > > Thus, in my datab

Re: autoadd class properties

2006-12-08 Thread Gabriel Genellina
At Friday 8/12/2006 05:38, manstey wrote: Is this clear? I'm sorry, not for me. Some code showing how things are used now and how you would like it to be, would help. -- Gabriel Genellina Softlab SRL __ Correo Yahoo! Espacio para todos tus

autoadd class properties

2006-12-08 Thread manstey
I have a ClassWrapper that wraps around a third party database object. Each database object has a set of properties, like columns in a relational database. I want my wrapper to generate a property for each database object and load its value into it. Thus, in my database (which is an oodbms) say I