Table of Contents

Class XmlSchema.XmlSchemaComponentPlacement

Namespace
LinqToDB.Tools.DataProvider.SqlServer.Schemas
Assembly
linq2db.Tools.dll

sys.xml_schema_component_placements (Transact-SQL)

Applies to: √ SQL Server (all supported versions)

Returns a row per placement for XML schema components.


See sys.xml_schema_component_placements.

[Table(Schema = "sys", Name = "xml_schema_component_placements", IsView = true)]
public class XmlSchema.XmlSchemaComponentPlacement
Inheritance
XmlSchema.XmlSchemaComponentPlacement
Extension Methods

Properties

DefaultValue

Default value if one is supplied. Is NULL if a default value is not supplied.

[Column("default_value")]
[Nullable]
public object? DefaultValue { get; set; }

Property Value

object

IsDefaultFixed

1 = The default value is a fixed value. This value cannot be overridden in an XML instance.

0 = The value can be overridden.(default)

[Column("is_default_fixed")]
[NotNull]
public bool IsDefaultFixed { get; set; }

Property Value

bool

MaxOccurrences

Maximum number of placed component occurs.

[Column("max_occurrences")]
[NotNull]
public int MaxOccurrences { get; set; }

Property Value

int

MinOccurrences

Minimum number of placed component occurs.

[Column("min_occurrences")]
[NotNull]
public int MinOccurrences { get; set; }

Property Value

int

PlacedXmlComponentID

ID of the placed XML schema component.

[Column("placed_xml_component_id")]
[NotNull]
public int PlacedXmlComponentID { get; set; }

Property Value

int

PlacementID

ID of the placement. This is unique within the owning XML schema component.

[Column("placement_id")]
[NotNull]
public int PlacementID { get; set; }

Property Value

int

XmlComponentID

ID of the XML schema component that owns this placement.

[Column("xml_component_id")]
[NotNull]
public int XmlComponentID { get; set; }

Property Value

int