Context is an instance which provides access to data in the storage.

IContext represents interface to IOG functionality and makes it available to the rest of the application.

General use

Creating a Context requires an implementation of the storage which should be used. If no storage is defined, memory-only storage will be used. For supported storages see Storage

Only one Context is allowed per storage.

In order to access data in an application, workspace is created by Context.OpenWorkspace method. See more about Workspace topic.

Embedded database scenario

For embedded database within the application, one instance of Context should be created in the application - singleton.

Distributed database scenario

For scenarios where multiple applications are accessing a single storage see Distributed Context

Last edited Jun 1, 2012 at 8:40 AM by nenadsabo, version 4

Comments

No comments yet.