Skip to content

Table Class

Object that represents a table in a database.

Methods

MethodDescription
CreateRow(sourceLineNumbers)Creates a new row and adds it to the table.
ValidateRows()Validates the rows of this OutputTable and throws if it collides on primary keys.

Properties

PropertyDescription
DefinitionGets the table definition.
NameGets the name of the table.
OperationGets or sets the table transform operation.
RowsGets the rows contained in the table.
WixToolset.Data.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

CreateRow(sourceLineNumbers) Method {#createrow_sourcelinenumbers}

Creates a new row and adds it to the table.

Declaration

public Row CreateRow(
WixToolset.Data.SourceLineNumber sourceLineNumbers
)

Parameters

ParameterTypeDescription
sourceLineNumbersWixToolset.Data.SourceLineNumberOriginal source lines for this row.

Return value

Row Row created in table.

ValidateRows() Method {#validaterows_nop}

Validates the rows of this OutputTable and throws if it collides on primary keys.

Declaration

public void ValidateRows()

Definition Property {#definition}

Gets the table definition.

Declaration

public TableDefinition Definition { get; set; }

Name Property {#name}

Gets the name of the table.

Declaration

public string Name { get; set; }

Operation Property {#operation}

Gets or sets the table transform operation.

Declaration

public TableOperation Operation { get; set; }

Rows Property {#rows}

Gets the rows contained in the table.

Declaration

public IList<WixToolset.Data.WindowsInstaller.Row> Rows { get; set; }