XmlCommandType
This property specifies the type of XML operation on the OracleCommand
.
Declaration
// C# public OracleXmlCommandType XmlCommandType {get; set;}
Property Value
An OracleXmlCommandType
.
Remarks
Default value is None
.
XmlCommandType
values and usage:
-
None
- TheCommandType
property specifies the type of operation. -
Query
-CommandText
property must be set to a SQL select statement. The query is executed, and the results are returned as an XML document. The SQL select statement in theCommandText
and the properties specified by theXmlQueryProperties
property are used to perform the operation. TheCommandType
property is ignored. -
Insert
,Update
, orDelete
-CommandText
property is an XML document containing the changes to be made. The XML document in theCommandText
and the properties specified by theXmlSaveProperties
property are used to perform the operation. TheCommandType
property is ignored.