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