company logo

ResourceTypes - Database resource types

Database resource types describe where database resources are stored. Usually, a database resource is locally available for the client or is is stored on a server and can be accessed via server communication, only.

Enumarators overview

  • RES_automatic (-1) - Determine resource type from parent type and option settings
  • RES_local (1) - Resource is locally or on a shared drive
  • RES_replication (3) - Resource is on a replication server (LAN or WAN)
  • RES_server (0) - Resource is on a ODABA Server (LAN)

Enumerator details

  1. RES_automatic - Determine resource type from parent type and option settings

    When a connection is opened to the server the dictionary is opened on the server side when passing a symbolic database path (like %DB_PATH%). When passing a dictionary path the dictionary is opened on the client side. When no connection is opened the dictionary or database will be opened on the client side.

    Code: -1
    to list
  2. RES_server - Resource is on a ODABA Server (LAN)

    The dictionary or database will be opened on the server machine side in any case.

    Code: 0
    to list
  3. RES_local - Resource is locally or on a shared drive

    The dictionary or database will be opened on the client machine in any case.

    Code: 1
    to list
  4. RES_replication - Resource is on a replication server (LAN or WAN)

    The dictionary or database will be opened on the client and on the server machine . Client and server resources will be synchronized.

    Code: 3
    to list