dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleShardingKey Class / SetShardingKey Method
One of the OracleDbType values.
A value of the sharding key. Note that its type must correspond to the oracleDbType parameter.

SetShardingKey Method (OracleShardingKey)
Adds a type/value pair to an OracleShardingKey instance. You can call this method multiple times to provide values for a composite sharding key.
Syntax
'Declaration
 
Public Sub SetShardingKey( _
   ByVal oracleDbType As OracleDbType, _
   ByVal data As Object _
) 
 

Parameters

oracleDbType
One of the OracleDbType values.
data
A value of the sharding key. Note that its type must correspond to the oracleDbType parameter.
Remarks

Acceptable values are:

oracleDbType Accepted types of data parameter
OracleDbType.Integer Int32 or OracleNumber
OracleDbType.Number DateTime or OracleDate or OracleTimeStamp
OracleDbType.Date DateTime or OracleDate or OracleTimeStamp
OracleDbType.TimeStamp DateTime or OracleTimeStamp
OracleDbType.VarChar String or OracleString
OracleDbType.Raw byte[] or OracleBinary
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also