Deployment Tools Foundation
QTable<(Of <(<'TRecord>)>)> Class
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller.Linq ► QTable<(Of <(<'TRecord>)>)>
Represents one table in a LINQ-queryable Database.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public sealed class QTable<TRecord> : IOrderedQueryable<TRecord>, IQueryable<TRecord>, IEnumerable<TRecord>, IEnumerable, IQueryable, IOrderedQueryable, IQueryProvider where TRecord : new(), QRecord
Public NotInheritable Class QTable(Of TRecord As {New, QRecord}) Implements IOrderedQueryable(Of TRecord), IQueryable(Of TRecord), IEnumerable(Of TRecord), IEnumerable, IQueryable, IOrderedQueryable, IQueryProvider
generic<typename TRecord> where TRecord : gcnew(), QRecord public ref class QTable sealed : IOrderedQueryable<TRecord>, IQueryable<TRecord>, IEnumerable<TRecord>, IEnumerable, IQueryable, IOrderedQueryable, IQueryProvider
[<SealedAttribute>] type QTable<'TRecord when 'TRecord : new() and QRecord> = class interface IOrderedQueryable<'TRecord> interface IQueryable<'TRecord> interface IEnumerable<'TRecord> interface IEnumerable interface IQueryable interface IOrderedQueryable interface IQueryProvider end
Generic Template Parameters
- TRecord
- type that represents one record in the table
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
QTable<(Of <(<'TRecord>)>)>(QDatabase) |
Creates a new QTable, inferring the table name
from the name of the record type parameter.
|
|
QTable<(Of <(<'TRecord>)>)>(QDatabase, String) |
Creates a new QTable with an explicit table name.
|
|
Database |
Gets the database this table is associated with.
|
|
Equals(Object) | (Inherited from Object.) |
|
Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetEnumerator()()()() |
Enumerates over all records in the table.
|
|
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
NewRecord()()()() |
Creates a new record that can be inserted into this table.
|
|
TableInfo |
Gets schema information about the table.
|
|
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
This class is the primary gateway to all LINQ to MSI query functionality.
The TRecord generic parameter may be the general QRecord class, or a specialized subclass of QRecord.
Inheritance Hierarchy
Object | |
QTable<(Of <(<'TRecord>)>)> |
Assembly: Microsoft.Deployment.WindowsInstaller.Linq (Module: Microsoft.Deployment.WindowsInstaller.Linq.dll) Version: 3.0.0.0 (3.11.1.2318)