'Declaration Public Function New( _ ByVal commandText As String, _ ByVal commandType As CommandType _ )
public OracleCommand( string commandText, CommandType commandType )
Parameters
- commandText
- The text of the query.
- commandType
- The command type.
'Declaration Public Function New( _ ByVal commandText As String, _ ByVal commandType As CommandType _ )
public OracleCommand( string commandText, CommandType commandType )
| Properties | Initial value |
|---|---|
| CommandText | commandText |
| Devart.Common.DbCommandBase.CommandTimeout | 30 |
| CommandType | commandType |
| Connection | null |
OracleCommand myCommand = new OracleCommand("SCOTT.GetDepts", CommandType.StoredProcedure);
OracleCommand myCommand = new OracleCommand("SCOTT.GetDepts", CommandType.StoredProcedure);