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
 

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

See Also