[V4RB] Binary link error
    Erik Mueller-Harder 
    valentina-list at vermontsoftworks.com
       
    Wed Aug 11 16:37:15 CDT 2004
    
    
  
Hi, Ruslan --
On Aug 11, 2004, at 14:11, Ruslan Zasukhin wrote:
> Okay, I see where is problem.
>
> You try to work via Classes way, i.e. Static way.
> You create tables and link BEFORE you have do db.Create()
>
> Right now primary our tests targeted to DYNAMIC way,
> I.e. Db is opened and we tell it create/drop objects.
>
> Classes way is more hard, and not all parts work yet.
>
> So you can try to use BinaryLink without classes.
I'd like to, but I don't see yet how to get a persistent database with 
your dynamic method.  There are many examples of dynamically creating 
and dropping tables, but I haven't been able to find any example that 
shows how to open an existing database with this dynamic API.
I love the idea of dropping the objectptr fields -- and, even more, of 
dropping my many-to-many link tables.  My new database would have about 
a dozen 1:M relations as well as another dozen or so M:M join tables, 
and it would be GREAT to replace these with direct binary links at the 
database level.
So will there be -- or is there now -- a way to get this persistence 
via your new API?  Or should I stick with the older class method?  And, 
if I need to stick with the class approach, will your new binary links 
work with it?
Thanks for any clarification you can give!
-- Erik
    
    
More information about the Valentina-beta
mailing list