Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

CreateOraObject (OraDatabase) Method

Applies To

OraDatabase

Description

Creates a value instance/referenceable object in the cache and returns the associated OO4O Object.

Arguments
Description
OraObject1
Valid OraObject representing newly created value instance
OraRef1
Valid OraRef representing newly created referenceable object
OraCollection
Valid OraCollection representing newly created collection instance
schema_name
String specifying schema name of the value instance to be created
table_name
String specifying table name of the referenceable object to be created
Usage

OraObject1 = OraDatabase.CreateOraObject(schema_name)

OraRef1 = OraDatabase.CreateOraObject(schema_name,table_name)

OraCollection1 = OraDatabase.CreateOraObject(schema_name)

Remarks

If table_name is not specified, it creates a value instance in the client and returns an OraObject or OraCollection. If table_name is specified, it creates a referenceable object in the server and returns an associated OraRef.

Example

Example: Creating an OraObject

Example: Creating an OraRef