blob: 551eae2052c12d5209838a0c09adc6ca74b5d4dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
// 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.Rows
{
/// <summary>
/// Specialization of a row for the MsiFeature table.
/// </summary>
public class WixBundleMsiFeatureRow : Row
{
/// <summary>
/// Creates a MsiFeatureRow row that does not belong to a table.
/// </summary>
/// <param name="sourceLineNumbers">Original source lines for this row.</param>
/// <param name="tableDef">TableDefinition this Media row belongs to and should get its column definitions from.</param>
public WixBundleMsiFeatureRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
base(sourceLineNumbers, tableDef)
{
}
/// <summary>
/// Creates a MsiFeatureRow row that belongs to a table.
/// </summary>
/// <param name="sourceLineNumbers">Original source lines for this row.</param>
/// <param name="table">Table this Media row belongs to and should get its column definitions from.</param>
public WixBundleMsiFeatureRow(SourceLineNumber sourceLineNumbers, Table table) :
base(sourceLineNumbers, table)
{
}
/// <summary>
/// Gets or sets the foreign key identifier to the ChainPackage row.
/// </summary>
public string ChainPackageId
{
get { return (string)this.Fields[0].Data; }
set { this.Fields[0].Data = value; }
}
public string Name
{
get { return (string)this.Fields[1].Data; }
set { this.Fields[1].Data = value; }
}
public long Size
{
get { return (long)this.Fields[2].Data; }
set { this.Fields[2].Data = value; }
}
public string Parent
{
get { return (string)this.Fields[3].Data; }
set { this.Fields[3].Data = value; }
}
public string Title
{
get { return (string)this.Fields[4].Data; }
set { this.Fields[4].Data = value; }
}
public string Description
{
get { return (string)this.Fields[5].Data; }
set { this.Fields[5].Data = value; }
}
public int Display
{
get { return (int)this.Fields[6].Data; }
set { this.Fields[6].Data = value; }
}
public int Level
{
get { return (int)this.Fields[7].Data; }
set { this.Fields[7].Data = value; }
}
public string Directory
{
get { return (string)this.Fields[8].Data; }
set { this.Fields[8].Data = value; }
}
public int Attributes
{
get { return (int)this.Fields[9].Data; }
set { this.Fields[9].Data = value; }
}
}
}
|