OracleVector(vectorValues)

This constructor creates an instance of the OracleVector class with a vector in the short[].

Declaration

// C#
public OracleVector(short[] vectorValues);

Parameters

vectorValues

A short[] that represents a vector.

Exceptions

ArgumentNullException - The parameter is null.

ArgumentOutOfRangeException - A value in the parameter vector is either too large or too small for a signed byte (INT8).

Remarks

The ProviderType is OracleDbType.Vector_Int8.

If the vector parameter has a length of zero, then the constructed instance will have null value and IsNull will be true.