Queryable Class
Allows any Database instance to be converted into a queryable database.
Methods
| Method | Description | 
|---|---|
| AsQueryable(db) | Converts any Database instance into a queryable database. | 
WixToolset.Dtf.WindowsInstaller.Linq.dll version 6.0.0+8c7432e50072e009353ea5f2c956ccf453476f71
AsQueryable(db) Method
Converts any Database instance into a queryable database.
Declaration
public static QDatabase AsQueryable(
  WixToolset.Dtf.WindowsInstaller.Database db
)
Parameters
| Parameter | Type | Description | 
|---|---|---|
| db | WixToolset.Dtf.WindowsInstaller.Database | 
Return value
QDatabase Queryable database instance that operates on the same MSI handle.
Remarks
This extension method is meant for convenient on-the-fly conversion. If the existing database instance already happens to be a QDatabase, then it is returned unchanged. Otherwise since the new database carries the same MSI handle, only one of the instances needs to be closed, not both.