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- TheCommandTypeproperty specifies the type of operation. -
Query-CommandTextproperty 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 theCommandTextand the properties specified by theXmlQueryPropertiesproperty are used to perform the operation. TheCommandTypeproperty is ignored. -
Insert,Update, orDelete-CommandTextproperty is an XML document containing the changes to be made. The XML document in theCommandTextand the properties specified by theXmlSavePropertiesproperty are used to perform the operation. TheCommandTypeproperty is ignored.