ODAC

TOraObject Class

A class representing the Oracle object data type value.

For a list of all members of this type, see TOraObject members.

Unit

OraObjects

Syntax

TOraObject = class(TDBObject);

Remarks

TOraObject represents a value of the Oracle object data type. You can get the description of the object type using the ObjectType method. Use the AllocObject method to create an object of a certain type. To access the attribute value use AttrAsInteger, AttrAsString, etc. You can get a TOraObject object using TOraDataSet.GetObject method after fetching rows containing an array field. Also you can get it using the TOraParam.AsObject method.

Example

var
MyType : TOraType;
MyObject : TOraObject;
. . .
MyType := TOraType.Create;
MyType.Describe('SCOTT.PERSON');
MyObject := TOraObject.Create(Obj.ObjectType);
MyObject.AttrAsString('Name') := 'Ja';
. . . 

Inheritance Hierarchy

TSharedObject
   TDBObject
      TOraObject

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback