UniCommand Constructor(String)
Initializes a new instance of the
UniCommand class with the text of the query.
The following example creates a
UniCommand and sets some of its properties.
|
|---|
public void CreateUniCommand()
{
string mySelectQuery = "SELECT * FROM Test.Dept";
UniCommand myCommand = new UniCommand(mySelectQuery);
myCommand.FetchSize = 100;
} |
|
|---|
Public Sub CreateUniCommand()
Dim mySelectQuery As String = "SELECT * FROM Test.Dept"
Dim myCommand As New UniCommand(mySelectQuery)
myCommand.FetchSize = 100
End Sub |