QTable`1 Class
Represents one table in a LINQ-queryable Database.
Methods
Section titled “Methods”| Method | Description |
|---|---|
| GetEnumerator() | Enumerates over all records in the table. |
| NewRecord() | Creates a new record that can be inserted into this table. |
Properties
Section titled “Properties”| Property | Description |
|---|---|
| Database | Gets the database this table is associated with. |
| TableInfo | Gets schema information about the table. |
Remarks
Section titled “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
Section titled “GetEnumerator() Method”Enumerates over all records in the table.
Declaration
Section titled “Declaration”public IEnumerator<TRecord> GetEnumerator()NewRecord() Method
Section titled “NewRecord() Method”Creates a new record that can be inserted into this table.
Declaration
Section titled “Declaration”public TRecord NewRecord()Return value
Section titled “Return value”TRecord a record with all fields initialized to null
Remarks
Section titled “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
Section titled “Database Property”Gets the database this table is associated with.
Declaration
Section titled “Declaration”public QDatabase Database { get; set; }TableInfo Property
Section titled “TableInfo Property”Gets schema information about the table.
Declaration
Section titled “Declaration”public WixToolset.Dtf.WindowsInstaller.TableInfo TableInfo { get; set; }