dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleDataReader Class / Depth Property

In This Topic
    Depth Property (OracleDataReader)
    In This Topic
    Gets a value indicating the depth of nesting for the current row.
    Syntax
    'Declaration
     
    Public Overrides ReadOnly Property Depth As Integer
    public override int Depth {get;}

    Property Value

    Depth of nesting for the current row.
    Remarks

    You can obtain nested tables from queries using methods GetValue and Devart.Common.DbDataReader.GetData. In this case use property Depth to obtain depth of current result set. Root result set has depth 0.

    To get nested tables from server you can use queries like this:

    SELECT CURSOR(SELECT * FROM emp e WHERE e.deptno = d.deptno), d.* FROM dept d

    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