aboutsummaryrefslogtreecommitdiff
path: root/src/dtf/WixToolset.Dtf.WindowsInstaller.Linq/Entities.cs
blob: 1c51b8612e0d296afe22229e1ed8f2bba5a63918 (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
// 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.Dtf.WindowsInstaller.Linq.Entities
{
    // Silence warnings about style and doc-comments
    #if !CODE_ANALYSIS
    #pragma warning disable 1591
    #region Generated code

    public class Component_ : QRecord
    {
        public string Component   { get { return this[0]; } set { this[0] = value; } }
        public string ComponentId { get { return this[1]; } set { this[1] = value; } }
        public string Directory_  { get { return this[2]; } set { this[2] = value; } }
        public string Condition   { get { return this[4]; } set { this[4] = value; } }
        public string KeyPath     { get { return this[5]; } set { this[5] = value; } }
        public ComponentAttributes Attributes
        { get { return (ComponentAttributes) this.I(3); } set { this[3] = ((int) value).ToString(); } }
    }

    public class CreateFolder_ : QRecord
    {
        public string Directory_ { get { return this[0]; } set { this[0] = value; } }
        public string Component_ { get { return this[1]; } set { this[1] = value; } }
    }

    public class CustomAction_ : QRecord
    {
        public string Action { get { return this[0]; } set { this[0] = value; } }
        public string Source { get { return this[2]; } set { this[2] = value; } }
        public string Target { get { return this[3]; } set { this[3] = value; } }
        public CustomActionTypes Type
        { get { return (CustomActionTypes) this.I(1); } set { this[1] = ((int) value).ToString(); } }
    }

    public class Directory_ : QRecord
    {
        public string Directory        { get { return this[0]; } set { this[0] = value; } }
        public string Directory_Parent { get { return this[1]; } set { this[1] = value; } }
        public string DefaultDir       { get { return this[2]; } set { this[2] = value; } }
    }

    public class DuplicateFile_ : QRecord
    {
        public string FileKey    { get { return this[0]; } set { this[0] = value; } }
        public string Component_ { get { return this[1]; } set { this[1] = value; } }
        public string File_      { get { return this[2]; } set { this[2] = value; } }
        public string DestName   { get { return this[4]; } set { this[4] = value; } }
        public string DestFolder { get { return this[5]; } set { this[5] = value; } }
    }

    public class Feature_ : QRecord
    {
        public string Feature        { get { return this[0];    } set { this[0] = value; } }
        public string Feature_Parent { get { return this[1];    } set { this[1] = value; } }
        public string Title          { get { return this[2];    } set { this[2] = value; } }
        public string Description    { get { return this[3];    } set { this[3] = value; } }
        public int?   Display        { get { return this.NI(4); } set { this[4] = value.ToString(); } }
        public int    Level          { get { return this.I(5);  } set { this[5] = value.ToString(); } }
        public string Directory_     { get { return this[6];    } set { this[6] = value; } }
        public FeatureAttributes Attributes
        { get { return (FeatureAttributes) this.I(7); } set { this[7] = ((int) value).ToString(); } }
    }

    [DatabaseTable("FeatureComponents")]
    public class FeatureComponent_ : QRecord
    {
        public string Feature_   { get { return this[0]; } set { this[0] = value; } }
        public string Component_ { get { return this[1]; } set { this[1] = value; } }
    }

    public class File_ : QRecord
    {
        public string File       { get { return this[0];   } set { this[0] = value; } }
        public string Component_ { get { return this[1];   } set { this[1] = value; } }
        public string FileName   { get { return this[2];   } set { this[2] = value; } }
        public int    FileSize   { get { return this.I(3); } set { this[3] = value.ToString(); } }
        public string Version    { get { return this[4];   } set { this[4] = value; } }
        public string Language   { get { return this[5];   } set { this[5] = value; } }
        public int    Sequence   { get { return this.I(7); } set { this[7] = value.ToString(); } }
        public FileAttributes Attributes
        { get { return (FileAttributes) this.I(6); } set { this[6] = ((int) value).ToString(); } }
    }

    [DatabaseTable("MsiFileHash")]
    public class FileHash_ : QRecord
    {
        public string File_     { get { return this[0];   } set { this[0] = value; } }
        public int    Options   { get { return this.I(1); } set { this[1] = value.ToString(); } }
        public int    HashPart1 { get { return this.I(2); } set { this[2] = value.ToString(); } }
        public int    HashPart2 { get { return this.I(3); } set { this[3] = value.ToString(); } }
        public int    HashPart3 { get { return this.I(4); } set { this[4] = value.ToString(); } }
        public int    HashPart4 { get { return this.I(5); } set { this[5] = value.ToString(); } }
    }

    [DatabaseTable("InstallExecuteSequence")]
    public class InstallSequence_ : QRecord
    {
        public string Action    { get { return this[0];   } set { this[0] = value; } }
        public string Condition { get { return this[1];   } set { this[1] = value; } }
        public int    Sequence  { get { return this.I(2); } set { this[2] = value.ToString(); } }
    }

    public class LaunchCondition_ : QRecord
    {
        public string Condition   { get { return this[0]; } set { this[0] = value; } }
        public string Description { get { return this[1]; } set { this[1] = value; } }
    }

    public class Media_ : QRecord
    {
        public int    DiskId       { get { return this.I(0); } set { this[0] = value.ToString(); } }
        public int    LastSequence { get { return this.I(1); } set { this[1] = value.ToString(); } }
        public string DiskPrompt   { get { return this[2];   } set { this[2] = value; } }
        public string Cabinet      { get { return this[3];   } set { this[3] = value; } }
        public string VolumeLabel  { get { return this[4];   } set { this[4] = value; } }
        public string Source       { get { return this[5];   } set { this[5] = value; } }
    }

    public class Property_ : QRecord
    {
        public string Property { get { return this[0]; } set { this[0] = value; } }
        public string Value    { get { return this[1]; } set { this[1] = value; } }
    }

    public class Registry_ : QRecord
    {
        public string Registry   { get { return this[0]; } set { this[0] = value; } }
        public string Key        { get { return this[2]; } set { this[2] = value; } }
        public string Name       { get { return this[3]; } set { this[3] = value; } }
        public string Value      { get { return this[4]; } set { this[4] = value; } }
        public string Component_ { get { return this[5]; } set { this[5] = value; } }
        public RegistryRoot Root
        { get { return (RegistryRoot) this.I(1); } set { this[0] = ((int) value).ToString(); } }
    }

    public class RemoveFile_ : QRecord
    {
        public string FileKey     { get { return this[0]; } set { this[0] = value; } }
        public string Component_  { get { return this[2]; } set { this[2] = value; } }
        public string FileName    { get { return this[3]; } set { this[3] = value; } }
        public string DirProperty { get { return this[4]; } set { this[4] = value; } }
        public RemoveFileModes InstallMode
        { get { return (RemoveFileModes) this.I(5); } set { this[5] = ((int) value).ToString(); } }
    }

    #endregion // Generated code
    #pragma warning restore 1591
    #endif // !CODE_ANALYSIS
}