Table of Contents

Class QueryColumnXmlExtensions

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Query column extension methods which provide XML querying capabilities.

[Obsolete("Class was not intended for public use and will be removed.")]
[ObsoleteSince(30, 1)]
public static class QueryColumnXmlExtensions
Inheritance
object
QueryColumnXmlExtensions

Methods

XmlExists(QueryColumn, string)

Applies an XML exists method against an XML column.

public static QueryColumn XmlExists(this QueryColumn column, string xQuery)

Parameters

column QueryColumn

Query column

xQuery string

XQuery expression

Returns

QueryColumn

XmlQuery(QueryColumn, string)

Applies an XQuery against an XML column.

public static QueryColumn XmlQuery(this QueryColumn column, string xQuery)

Parameters

column QueryColumn

Query column

xQuery string

XML query

Returns

QueryColumn

XmlValue(QueryColumn, string, string, int, int)

Applies an XML value method against an XML column.

public static QueryColumn XmlValue(this QueryColumn column, string xQuery, string dataType, int size = 0, int precision = 0)

Parameters

column QueryColumn

Query column

xQuery string

XQuery expression

dataType string

Data type to which the cast should be done. See FieldDataType

size int

Size of the type

precision int

Precision of the type

Returns

QueryColumn