VServer and launchd

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Nov 14 02:01:33 CST 2006


On 11/14/06 1:20 AM, "Charles Yeomans" <charles at declareSub.com> wrote:

> How lazy of me; I should have searched every example looking for any
> that might have been updated :) API_way/Records_AddDeleteUpdate.rb
> does indeed contain some sample code.

Simpler.

EACH example contains that ExampleTools module. EACH.

> But it raises more questions
> than answers.
> 
> 
> I need to create a VConnection object.
> Must I call its Open method before creating a new VDatabase object?

as I remember its optional.

You must call Vconnection.Open() only if you use Vserver class.
See example Common/Vserver...


> Once I have created a VDatabase object, do I need to keep a reference
> to the VConnection object as long as the database is connected?

no
 
> Must I call VDatabase.Close before calling VConnection.Close?

No, if you have not call Open() explicitly

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list