'Declaration Public Function New( _ ByVal commandText As String _ )
public ZohoBooksCommand( string commandText )
Parameters
- commandText
- The text of the query.
'Declaration Public Function New( _ ByVal commandText As String _ )
public ZohoBooksCommand( string commandText )
| Properties | Initial value |
|---|---|
| CommandText | commandText |
| CommandTimeout | 30 |
| CommandType | System.Data.CommandType.Text |
| Connection | null |
public void CreateZohoBooksCommand() { string mySelectQuery = "SELECT * FROM Accounts"; ZohoBooksCommand ZohoBooksCommand = new ZohoBooksCommand(mySelectQuery); ZohoBooksCommand.FetchSize = 100; }
Public Sub CreateZohoBooksCommand() Dim mySelectQuery As String = "SELECT * FROM Accounts" Dim ZohoBooksCommand As New ZohoBooksCommand(mySelectQuery) ZohoBooksCommand.FetchSize = 100 End Sub