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