QRecord Class

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation QRecord Class
Generic record entity for queryable databases, and base for strongly-typed entity subclasses.
Declaration Syntax
C# Visual Basic Visual C++
public class QRecord
Public Class QRecord
public ref class QRecord
Members
All Members Constructors Methods Properties



Icon Member Description
QRecord()()()()
Do not call. Use QTable.NewRecord() instead.

Assign()()()()
Not yet implemented.

Delete()()()()
Deletes the record from the table if it exists.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FieldCount
Gets the number of fields in the record.

Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
I(Int32)
Used by subclasses to get a field as an integer.

Insert()()()()
Inserts the record in the database.

Insert(Boolean)
Inserts the record into the table.

Item[([( String])])
Gets or sets a record field.

Item[([( Int32])])
Gets or sets a record field.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Merge()()()()
Not yet implemented.

NI(Int32)
Used by subclasses to get a field as a nullable integer.

Refresh()()()()
Not yet implemented.

ToString()()()()
Dumps all record fields to a string.
(Overrides Object.ToString()()()().)
Update(IList<(Of <<'(String>)>>), IList<(Of <<'(String>)>>))
Update multiple fields in the record (and the database).

Update(IList<(Of <<'(Int32>)>>), IList<(Of <<'(String>)>>))
Update multiple fields in the record (and the database).

Validate()()()()
Not yet implemented.

ValidateDelete()()()()
Not yet implemented.

ValidateFields()()()()
Not yet implemented.

ValidateNew()()()()
Not yet implemented.

Remarks
Several predefined specialized subclasses are provided for common standard tables. Subclasses for additional standard tables or custom tables are not necessary, but they are easy to create and make the coding experience much nicer.

When creating subclasses, the following attributes may be useful: DatabaseTableAttribute, DatabaseColumnAttribute

Inheritance Hierarchy
Object
QRecord

Assembly: Microsoft.Deployment.WindowsInstaller.Linq (Module: Microsoft.Deployment.WindowsInstaller.Linq.dll) Version: 3.0.0.0 (3.9.1006.0)