dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleScript Class / OracleScript Constructor / OracleScript Constructor(String)
The text of the query.
Example

OracleScript Constructor(String)
Initializes a new instance of the OracleScript class with the text of the query.
Syntax
'Declaration
 
Public Function New( _
   ByVal scriptText As String _
)
 

Parameters

scriptText
The text of the query.
Example
The following example creates an OracleScript and sets some of its properties.
public void CreateScript(OracleConnection conn)
{
  ...
  OracleScript script = new OracleScript(scriptText);
  script.Connection = conn;
  ...
}
Public Sub CreateOraLoaderColumn(scriptText as string, conn as OracleConnection)
  ...
  Dim script as OracleScript = new OracleScript(scriptText)
  script.Connection = conn
  ...
End Sub 'CreateOraLoaderColumn
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