ZohoBooksCommand Constructor(String,ZohoBooksConnection)
Initializes a new instance of the
ZohoBooksCommand class with the text of the query and a
ZohoBooksConnection object.
The following example creates a
ZohoBooksCommand and sets some of its properties.
|
|---|
public void CreateCommand()
{
ZohoBooksConnection zohoBooksConnection = new ZohoBooksConnection(
Refresh Token=1000.a6fde76542bfbb5244a7e539d4390e72.87e34ea57023c2d0e7dcb9ce55e3e7f);
string mySelectQuery = "SELECT * FROM Accounts";
ZohoBooksCommand zohoBooksCommand = new ZohoBooksCommand(mySelectQuery, zohoBooksConnection);
zohoBooksCommand.FetchSize = 100;
} |
|
|---|
Public Sub CreateCommand()
Dim zohoBooksConnection As New ZohoBooksConnection( _
Refresh Token=1000.a6fde76542bfbb5244a7e539d4390e72.87e34ea57023c2d0e7dcb9ce55e3e7f)
Dim mySelectQuery As String = _
"SELECT * FROM Accounts"
Dim zohoBooksCommand As New ZohoBooksCommand(mySelectQuery, zohoBooksConnection)
zohoBooksCommand.FetchSize = 100
End Sub |