Table of Contents

Enum ForXmlMode

Namespace
NextORM.Core
Assembly
nextorm.core.dll

How SQL Server shapes the result set when it is rendered as XML.

public enum ForXmlMode
Extension Methods

Fields

Auto = 1

FOR XML AUTO: the table structure drives the element nesting.

Explicit = 2

FOR XML EXPLICIT: the query must project a tag/parent hierarchy.

Path = 3

FOR XML PATH: the projection aliases drive the structure.

Raw = 0

FOR XML RAW: each row becomes a <row> element with the columns as attributes.