QTable`1 Class
Represents one table in a LINQ-queryable Database.
Methods
| Method | Description |
|---|---|
| GetEnumerator() | Enumerates over all records in the table. |
| NewRecord() | Creates a new record that can be inserted into this table. |
Properties
| Property | Description |
|---|---|
| Database | Gets the database this table is associated with. |
| TableInfo | Gets 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 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8
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; }