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++ |
public sealed class QTable<TRecord> : IOrderedQueryable<TRecord>, IQueryable<TRecord>, IEnumerable<TRecord>, IOrderedQueryable, IQueryable, IEnumerable, IQueryProvider where TRecord : new(), QRecord
Public NotInheritable Class QTable(Of TRecord As {New, QRecord}) _ Implements IOrderedQueryable(Of TRecord), IQueryable(Of TRecord), _ IEnumerable(Of TRecord), IOrderedQueryable, IQueryable, IEnumerable, _ IQueryProvider
generic<typename TRecord> where TRecord : gcnew(), QRecord public ref class QTable sealed : IOrderedQueryable<TRecord>, IQueryable<TRecord>, IEnumerable<TRecord>, IOrderedQueryable, IQueryable, IEnumerable, IQueryProvider
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 attempt to free resources and perform other cleanup operations before the Object 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. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (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()()() | (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>)>) |