Skip to main content

QTable`1 Class

Represents one table in a LINQ-queryable Database.

Methods​

MethodDescription
GetEnumerator()Enumerates over all records in the table.
NewRecord()Creates a new record that can be inserted into this table.

Properties​

PropertyDescription
DatabaseGets the database this table is associated with.
TableInfoGets schema information about the table.

Remarks​

This class is the primary gateway to all LINQ to MSI query functionality.The TRecord generic parameter may be the general «see T:WixToolset.Dtf.WindowsInstaller.Linq.QRecord» class, or a specialized subclass of QRecord.

WixToolset.Dtf.WindowsInstaller.Linq.dll version 6.0.0+8c7432e50072e009353ea5f2c956ccf453476f71

GetEnumerator() Method​

Enumerates over all records in the table.

Declaration​

public IEnumerator<TRecord> GetEnumerator()

NewRecord() Method​

Creates a new record that can be inserted into this table.

Declaration​

public TRecord NewRecord()

Return value​

TRecord a record with all fields initialized to null

Remarks​

Primary keys and required fields must be filled in with non-null values before the record can be inserted.The record is tied to this table in this database; it cannot be inserted into another table or database.

Database Property​

Gets the database this table is associated with.

Declaration​

public QDatabase Database { get; set; } 

TableInfo Property​

Gets schema information about the table.

Declaration​

public WixToolset.Dtf.WindowsInstaller.TableInfo TableInfo { get; set; }