OracleLob.Null Field

 

Represents a null OracleLob object.

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

static val Null : OracleLob

You can construct an OracleLob that is NULL using this format:

OracleLob myLob = OracleLOB.Null;

This technique is used primarily to test whether a LOB returned from the server is NULL, as this example illustrates:

If(myLob == OracleLob.Null)

A NULL LOB behaves similarly to a zero byte LOB in that Read succeeds and always returns zero bytes.

.NET Framework
Available since 1.1
Return to top
Show: