Skip to content

QTable`1 Class

Represents one table in a LINQ-queryable Database.

MethodDescription
GetEnumerator()Enumerates over all records in the table.
NewRecord()Creates a new record that can be inserted into this table.
PropertyDescription
DatabaseGets the database this table is associated with.
TableInfoGets schema information about the table.

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 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

Enumerates over all records in the table.

public IEnumerator<TRecord> GetEnumerator()

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

public TRecord NewRecord()

TRecord a record with all fields initialized to null

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.

Gets the database this table is associated with.

public QDatabase Database { get; set; }

Gets schema information about the table.

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