Supported Datatypes

Simple and complex datatypes are convertible between .NET clients and EAServer components.

This table describes the basic CORBA IDL types supported and their corresponding PowerScript type:

CORBA IDL type

Mode

PowerScript type

boolean

in, return

Boolean by value

out, inout

Boolean by reference

char

in, return

Char by value

out, inout

Char by reference

octet

in, return

Byte by value

out, inout

Byte by reference

short

in, return

Integer by value

out, inout

Integer by reference

long

in, return

Long by value

out, inout

Long by reference

long long

in, return

Longlong by value

out, inout

Longlong by reference

float

in, return

Real by value

out, inout

Real by reference

double

in, return

Double by value

out, inout

Double by reference

string

in, return

String by value

out, inout

String by reference

BCD::Binary

in, return

Blob by value

out, inout

Blob by reference

BCD::Decimal

in, return

Decimal by value

out, inout

Decimal by reference

BCD::Money

in, return

Decimal by value

out, inout

Decimal by reference

MJD::Date

in, return

Date by value

out, inout

Date by reference

MJD::Time

in, return

Time by value

out, inout

Time by reference

MJD::Timestamp

in, return

DateTime by value

out, inout

DateTime by reference

TabularResults::ResultSet

in, return

ResultSet by value

out, inout

ResultSet by reference

TabularResults::ResultSets

in, return

ResultSets by value

out, inout

ResultSets by reference

Void

return

(None)

Arrays and sequences of structures and basic types are also supported. This table lists the complex datatypes that are supported:

CORBA IDL type

Mode

PowerScript type

Array

in

Bounded array by value

inout

Bounded array by reference

Sequence

in

Unbounded array by value

inout

Unbounded array by reference

Structure

in, return

Structure by value

out, inout

Structure by reference