OracleCommand Constructor ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the OracleCommand.

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

new : unit -> OracleCommand

The base constructor initializes all fields to their default values. The following table shows initial property values for an instance of OracleCommand.

Properties

Initial Value

CommandText

empty string ("")

CommandType

Text

Connection

null

The following example creates an OracleCommand and sets some of its properties.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: