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

In This Topic
OracleScript Constructor(String)
In This Topic
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
See Also