From 2b3c14c790e8a95edabecf2d7bb50baa58d8e95b Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sat, 18 Apr 2020 12:27:59 +1000 Subject: Remove bundle table definitions and rows. --- .../WindowsInstaller/Rows/WixBundlePackageRow.cs | 228 --------------------- 1 file changed, 228 deletions(-) delete mode 100644 src/WixToolset.Data/WindowsInstaller/Rows/WixBundlePackageRow.cs (limited to 'src/WixToolset.Data/WindowsInstaller/Rows/WixBundlePackageRow.cs') diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/WixBundlePackageRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/WixBundlePackageRow.cs deleted file mode 100644 index 8a1f438e..00000000 --- a/src/WixToolset.Data/WindowsInstaller/Rows/WixBundlePackageRow.cs +++ /dev/null @@ -1,228 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. - -namespace WixToolset.Data.WindowsInstaller.Rows -{ - using WixToolset.Data.Tuples; - - /// - /// Specialization of a row for the WixBundlePackage table. - /// - public sealed class WixBundlePackageRow : Row - { - /// - /// Creates a WixBundlePackage row that does not belong to a table. - /// - /// Original source lines for this row. - /// TableDefinition this row belongs to and should get its column definitions from. - public WixBundlePackageRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) : - base(sourceLineNumbers, tableDef) - { - } - - /// - /// Creates a WixBundlePackage row that belongs to a table. - /// - /// Original source lines for this row. - /// Table this row belongs to and should get its column definitions from. - public WixBundlePackageRow(SourceLineNumber sourceLineNumbers, Table table) : - base(sourceLineNumbers, table) - { - } - - /// - /// Gets or sets the foreign key to the WixChainItem. - /// - public string WixChainItemId - { - get { return (string)this.Fields[0].Data; } - set { this.Fields[0].Data = value; } - } - - /// - /// Gets or sets the item type. - /// - public WixBundlePackageType Type - { - get { return (WixBundlePackageType)this.Fields[1].Data; } - set { this.Fields[1].Data = (int)value; } - } - - /// - /// Gets or sets the indentifier of the package's payload. - /// - public string PackagePayload - { - get { return (string)this.Fields[2].Data; } - set { this.Fields[2].Data = value; } - } - - /// - /// Gets or sets the raw attributes of a package. - /// - public WixBundlePackageAttributes Attributes - { - get { return (WixBundlePackageAttributes)this.Fields[3].Data; } - set { this.Fields[3].Data = value; } - } - - /// - /// Gets or sets the install condition of the package. - /// - public string InstallCondition - { - get { return (string)this.Fields[4].Data; } - set { this.Fields[4].Data = value; } - } - - /// - /// Gets or sets the language of the package. - /// - public YesNoAlwaysType Cache - { - get { return (null == this.Fields[5].Data) ? YesNoAlwaysType.NotSet : (YesNoAlwaysType)this.Fields[5].Data; } - set { this.Fields[5].Data = (int)value; } - } - - /// - /// Gets or sets the indentifier of the package's cache. - /// - public string CacheId - { - get { return (string)this.Fields[6].Data; } - set { this.Fields[6].Data = value; } - } - - /// - /// Gets or sets whether the package is vital. - /// - public YesNoType Vital - { - get { return (null == this.Fields[7].Data) ? YesNoType.NotSet : (YesNoType)this.Fields[7].Data; } - set { this.Fields[7].Data = (int)value; } - } - - /// - /// Gets or sets whether the package is per-machine. - /// - public YesNoDefaultType PerMachine - { - get { return (null == this.Fields[8].Data) ? YesNoDefaultType.NotSet : (YesNoDefaultType)this.Fields[8].Data; } - set { this.Fields[8].Data = (int)value; } - } - - /// - /// Gets or sets the variable that points to the log for the package. - /// - public string LogPathVariable - { - get { return (string)this.Fields[9].Data; } - set { this.Fields[9].Data = value; } - } - - /// - /// Gets or sets the variable that points to the rollback log for the package. - /// - public string RollbackLogPathVariable - { - get { return (string)this.Fields[10].Data; } - set { this.Fields[10].Data = value; } - } - - /// - /// Gets or sets the size of the package. - /// - public long Size - { - get { return (long)this.Fields[11].Data; } - set { this.Fields[11].Data = value; } - } - - /// - /// Gets or sets the install size of the package. - /// - public long? InstallSize - { - get { return (long?)this.Fields[12].Data; } - set { this.Fields[12].Data = value; } - } - - /// - /// Gets or sets the version of the package. - /// - public string Version - { - get { return (string)this.Fields[13].Data; } - set { this.Fields[13].Data = value; } - } - - /// - /// Gets or sets the language of the package. - /// - public int Language - { - get { return (int)this.Fields[14].Data; } - set { this.Fields[14].Data = value; } - } - - /// - /// Gets or sets the display name of the package. - /// - public string DisplayName - { - get { return (string)this.Fields[15].Data; } - set { this.Fields[15].Data = value; } - } - - /// - /// Gets or sets the description of the package. - /// - public string Description - { - get { return (string)this.Fields[16].Data; } - set { this.Fields[16].Data = value; } - } - - /// - /// Gets or sets the rollback boundary identifier for the package. - /// - public string RollbackBoundary - { - get { return (string)this.Fields[17].Data; } - set { this.Fields[17].Data = value; } - } - - /// - /// Gets or sets the backward rollback boundary identifier for the package. - /// - public string RollbackBoundaryBackward - { - get { return (string)this.Fields[18].Data; } - set { this.Fields[18].Data = value; } - } - - /// - /// Gets or sets whether the package is x64. - /// - public YesNoType x64 - { - get { return (null == this.Fields[19].Data) ? YesNoType.NotSet : (YesNoType)this.Fields[19].Data; } - set { this.Fields[19].Data = (int)value; } - } - - /// - /// Gets whether the package is permanent. - /// - public bool Permanent - { - get { return 0 != (this.Attributes & WixBundlePackageAttributes.Permanent); } - } - - /// - /// Gets whether the package is visible. - /// - public bool Visible - { - get { return 0 != (this.Attributes & WixBundlePackageAttributes.Visible); } - } - } -} -- cgit v1.2.3-55-g6feb