Skip to main 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 6.0.0+8c7432e50072e009353ea5f2c956ccf453476f71

CreateRow(sourceLineNumbers) Method​

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​

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

Declaration​

public void ValidateRows()

Definition Property​

Gets the table definition.

Declaration​

public TableDefinition Definition { get; set; } 

Name Property​

Gets the name of the table.

Declaration​

public string Name { get; set; } 

Operation Property​

Gets or sets the table transform operation.

Declaration​

public TableOperation Operation { get; set; } 

Rows Property​

Gets the rows contained in the table.

Declaration​

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