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

In This Topic
    OracleShardingKey Constructor(OracleDbType,Object)
    In This Topic
    Initializes a new instance of OracleShardingKey class with a type and a value.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal oracleDbType As OracleDbType, _
       ByVal data As Object _
    )
    public OracleShardingKey( 
       OracleDbType oracleDbType,
       object data
    )

    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