diff options
Diffstat (limited to 'src/WixToolset.Data/Rows/WixBundlePackageRow.cs')
-rw-r--r-- | src/WixToolset.Data/Rows/WixBundlePackageRow.cs | 226 |
1 files changed, 0 insertions, 226 deletions
diff --git a/src/WixToolset.Data/Rows/WixBundlePackageRow.cs b/src/WixToolset.Data/Rows/WixBundlePackageRow.cs deleted file mode 100644 index e278e9d8..00000000 --- a/src/WixToolset.Data/Rows/WixBundlePackageRow.cs +++ /dev/null | |||
@@ -1,226 +0,0 @@ | |||
1 | // 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. | ||
2 | |||
3 | namespace WixToolset.Data.Rows | ||
4 | { | ||
5 | /// <summary> | ||
6 | /// Specialization of a row for the WixBundlePackage table. | ||
7 | /// </summary> | ||
8 | public sealed class WixBundlePackageRow : Row | ||
9 | { | ||
10 | /// <summary> | ||
11 | /// Creates a WixBundlePackage row that does not belong to a table. | ||
12 | /// </summary> | ||
13 | /// <param name="sourceLineNumbers">Original source lines for this row.</param> | ||
14 | /// <param name="tableDef">TableDefinition this row belongs to and should get its column definitions from.</param> | ||
15 | public WixBundlePackageRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) : | ||
16 | base(sourceLineNumbers, tableDef) | ||
17 | { | ||
18 | } | ||
19 | |||
20 | /// <summary> | ||
21 | /// Creates a WixBundlePackage row that belongs to a table. | ||
22 | /// </summary> | ||
23 | /// <param name="sourceLineNumbers">Original source lines for this row.</param> | ||
24 | /// <param name="table">Table this row belongs to and should get its column definitions from.</param> | ||
25 | public WixBundlePackageRow(SourceLineNumber sourceLineNumbers, Table table) : | ||
26 | base(sourceLineNumbers, table) | ||
27 | { | ||
28 | } | ||
29 | |||
30 | /// <summary> | ||
31 | /// Gets or sets the foreign key to the WixChainItem. | ||
32 | /// </summary> | ||
33 | public string WixChainItemId | ||
34 | { | ||
35 | get { return (string)this.Fields[0].Data; } | ||
36 | set { this.Fields[0].Data = value; } | ||
37 | } | ||
38 | |||
39 | /// <summary> | ||
40 | /// Gets or sets the item type. | ||
41 | /// </summary> | ||
42 | public WixBundlePackageType Type | ||
43 | { | ||
44 | get { return (WixBundlePackageType)this.Fields[1].Data; } | ||
45 | set { this.Fields[1].Data = (int)value; } | ||
46 | } | ||
47 | |||
48 | /// <summary> | ||
49 | /// Gets or sets the indentifier of the package's payload. | ||
50 | /// </summary> | ||
51 | public string PackagePayload | ||
52 | { | ||
53 | get { return (string)this.Fields[2].Data; } | ||
54 | set { this.Fields[2].Data = value; } | ||
55 | } | ||
56 | |||
57 | /// <summary> | ||
58 | /// Gets or sets the raw attributes of a package. | ||
59 | /// </summary> | ||
60 | public WixBundlePackageAttributes Attributes | ||
61 | { | ||
62 | get { return (WixBundlePackageAttributes)this.Fields[3].Data; } | ||
63 | set { this.Fields[3].Data = value; } | ||
64 | } | ||
65 | |||
66 | /// <summary> | ||
67 | /// Gets or sets the install condition of the package. | ||
68 | /// </summary> | ||
69 | public string InstallCondition | ||
70 | { | ||
71 | get { return (string)this.Fields[4].Data; } | ||
72 | set { this.Fields[4].Data = value; } | ||
73 | } | ||
74 | |||
75 | /// <summary> | ||
76 | /// Gets or sets the language of the package. | ||
77 | /// </summary> | ||
78 | public YesNoAlwaysType Cache | ||
79 | { | ||
80 | get { return (null == this.Fields[5].Data) ? YesNoAlwaysType.NotSet : (YesNoAlwaysType)this.Fields[5].Data; } | ||
81 | set { this.Fields[5].Data = (int)value; } | ||
82 | } | ||
83 | |||
84 | /// <summary> | ||
85 | /// Gets or sets the indentifier of the package's cache. | ||
86 | /// </summary> | ||
87 | public string CacheId | ||
88 | { | ||
89 | get { return (string)this.Fields[6].Data; } | ||
90 | set { this.Fields[6].Data = value; } | ||
91 | } | ||
92 | |||
93 | /// <summary> | ||
94 | /// Gets or sets whether the package is vital. | ||
95 | /// </summary> | ||
96 | public YesNoType Vital | ||
97 | { | ||
98 | get { return (null == this.Fields[7].Data) ? YesNoType.NotSet : (YesNoType)this.Fields[7].Data; } | ||
99 | set { this.Fields[7].Data = (int)value; } | ||
100 | } | ||
101 | |||
102 | /// <summary> | ||
103 | /// Gets or sets whether the package is per-machine. | ||
104 | /// </summary> | ||
105 | public YesNoDefaultType PerMachine | ||
106 | { | ||
107 | get { return (null == this.Fields[8].Data) ? YesNoDefaultType.NotSet : (YesNoDefaultType)this.Fields[8].Data; } | ||
108 | set { this.Fields[8].Data = (int)value; } | ||
109 | } | ||
110 | |||
111 | /// <summary> | ||
112 | /// Gets or sets the variable that points to the log for the package. | ||
113 | /// </summary> | ||
114 | public string LogPathVariable | ||
115 | { | ||
116 | get { return (string)this.Fields[9].Data; } | ||
117 | set { this.Fields[9].Data = value; } | ||
118 | } | ||
119 | |||
120 | /// <summary> | ||
121 | /// Gets or sets the variable that points to the rollback log for the package. | ||
122 | /// </summary> | ||
123 | public string RollbackLogPathVariable | ||
124 | { | ||
125 | get { return (string)this.Fields[10].Data; } | ||
126 | set { this.Fields[10].Data = value; } | ||
127 | } | ||
128 | |||
129 | /// <summary> | ||
130 | /// Gets or sets the size of the package. | ||
131 | /// </summary> | ||
132 | public long Size | ||
133 | { | ||
134 | get { return (long)this.Fields[11].Data; } | ||
135 | set { this.Fields[11].Data = value; } | ||
136 | } | ||
137 | |||
138 | /// <summary> | ||
139 | /// Gets or sets the install size of the package. | ||
140 | /// </summary> | ||
141 | public long? InstallSize | ||
142 | { | ||
143 | get { return (long?)this.Fields[12].Data; } | ||
144 | set { this.Fields[12].Data = value; } | ||
145 | } | ||
146 | |||
147 | /// <summary> | ||
148 | /// Gets or sets the version of the package. | ||
149 | /// </summary> | ||
150 | public string Version | ||
151 | { | ||
152 | get { return (string)this.Fields[13].Data; } | ||
153 | set { this.Fields[13].Data = value; } | ||
154 | } | ||
155 | |||
156 | /// <summary> | ||
157 | /// Gets or sets the language of the package. | ||
158 | /// </summary> | ||
159 | public int Language | ||
160 | { | ||
161 | get { return (int)this.Fields[14].Data; } | ||
162 | set { this.Fields[14].Data = value; } | ||
163 | } | ||
164 | |||
165 | /// <summary> | ||
166 | /// Gets or sets the display name of the package. | ||
167 | /// </summary> | ||
168 | public string DisplayName | ||
169 | { | ||
170 | get { return (string)this.Fields[15].Data; } | ||
171 | set { this.Fields[15].Data = value; } | ||
172 | } | ||
173 | |||
174 | /// <summary> | ||
175 | /// Gets or sets the description of the package. | ||
176 | /// </summary> | ||
177 | public string Description | ||
178 | { | ||
179 | get { return (string)this.Fields[16].Data; } | ||
180 | set { this.Fields[16].Data = value; } | ||
181 | } | ||
182 | |||
183 | /// <summary> | ||
184 | /// Gets or sets the rollback boundary identifier for the package. | ||
185 | /// </summary> | ||
186 | public string RollbackBoundary | ||
187 | { | ||
188 | get { return (string)this.Fields[17].Data; } | ||
189 | set { this.Fields[17].Data = value; } | ||
190 | } | ||
191 | |||
192 | /// <summary> | ||
193 | /// Gets or sets the backward rollback boundary identifier for the package. | ||
194 | /// </summary> | ||
195 | public string RollbackBoundaryBackward | ||
196 | { | ||
197 | get { return (string)this.Fields[18].Data; } | ||
198 | set { this.Fields[18].Data = value; } | ||
199 | } | ||
200 | |||
201 | /// <summary> | ||
202 | /// Gets or sets whether the package is x64. | ||
203 | /// </summary> | ||
204 | public YesNoType x64 | ||
205 | { | ||
206 | get { return (null == this.Fields[19].Data) ? YesNoType.NotSet : (YesNoType)this.Fields[19].Data; } | ||
207 | set { this.Fields[19].Data = (int)value; } | ||
208 | } | ||
209 | |||
210 | /// <summary> | ||
211 | /// Gets whether the package is permanent. | ||
212 | /// </summary> | ||
213 | public bool Permanent | ||
214 | { | ||
215 | get { return 0 != (this.Attributes & WixBundlePackageAttributes.Permanent); } | ||
216 | } | ||
217 | |||
218 | /// <summary> | ||
219 | /// Gets whether the package is visible. | ||
220 | /// </summary> | ||
221 | public bool Visible | ||
222 | { | ||
223 | get { return 0 != (this.Attributes & WixBundlePackageAttributes.Visible); } | ||
224 | } | ||
225 | } | ||
226 | } | ||