aboutsummaryrefslogtreecommitdiff
path: root/src/dtf/WixToolset.Dtf.WindowsInstaller.Linq/Entities.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/dtf/WixToolset.Dtf.WindowsInstaller.Linq/Entities.cs150
1 files changed, 150 insertions, 0 deletions
diff --git a/src/dtf/WixToolset.Dtf.WindowsInstaller.Linq/Entities.cs b/src/dtf/WixToolset.Dtf.WindowsInstaller.Linq/Entities.cs
new file mode 100644
index 00000000..1c51b861
--- /dev/null
+++ b/src/dtf/WixToolset.Dtf.WindowsInstaller.Linq/Entities.cs
@@ -0,0 +1,150 @@
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
3namespace WixToolset.Dtf.WindowsInstaller.Linq.Entities
4{
5 // Silence warnings about style and doc-comments
6 #if !CODE_ANALYSIS
7 #pragma warning disable 1591
8 #region Generated code
9
10 public class Component_ : QRecord
11 {
12 public string Component { get { return this[0]; } set { this[0] = value; } }
13 public string ComponentId { get { return this[1]; } set { this[1] = value; } }
14 public string Directory_ { get { return this[2]; } set { this[2] = value; } }
15 public string Condition { get { return this[4]; } set { this[4] = value; } }
16 public string KeyPath { get { return this[5]; } set { this[5] = value; } }
17 public ComponentAttributes Attributes
18 { get { return (ComponentAttributes) this.I(3); } set { this[3] = ((int) value).ToString(); } }
19 }
20
21 public class CreateFolder_ : QRecord
22 {
23 public string Directory_ { get { return this[0]; } set { this[0] = value; } }
24 public string Component_ { get { return this[1]; } set { this[1] = value; } }
25 }
26
27 public class CustomAction_ : QRecord
28 {
29 public string Action { get { return this[0]; } set { this[0] = value; } }
30 public string Source { get { return this[2]; } set { this[2] = value; } }
31 public string Target { get { return this[3]; } set { this[3] = value; } }
32 public CustomActionTypes Type
33 { get { return (CustomActionTypes) this.I(1); } set { this[1] = ((int) value).ToString(); } }
34 }
35
36 public class Directory_ : QRecord
37 {
38 public string Directory { get { return this[0]; } set { this[0] = value; } }
39 public string Directory_Parent { get { return this[1]; } set { this[1] = value; } }
40 public string DefaultDir { get { return this[2]; } set { this[2] = value; } }
41 }
42
43 public class DuplicateFile_ : QRecord
44 {
45 public string FileKey { get { return this[0]; } set { this[0] = value; } }
46 public string Component_ { get { return this[1]; } set { this[1] = value; } }
47 public string File_ { get { return this[2]; } set { this[2] = value; } }
48 public string DestName { get { return this[4]; } set { this[4] = value; } }
49 public string DestFolder { get { return this[5]; } set { this[5] = value; } }
50 }
51
52 public class Feature_ : QRecord
53 {
54 public string Feature { get { return this[0]; } set { this[0] = value; } }
55 public string Feature_Parent { get { return this[1]; } set { this[1] = value; } }
56 public string Title { get { return this[2]; } set { this[2] = value; } }
57 public string Description { get { return this[3]; } set { this[3] = value; } }
58 public int? Display { get { return this.NI(4); } set { this[4] = value.ToString(); } }
59 public int Level { get { return this.I(5); } set { this[5] = value.ToString(); } }
60 public string Directory_ { get { return this[6]; } set { this[6] = value; } }
61 public FeatureAttributes Attributes
62 { get { return (FeatureAttributes) this.I(7); } set { this[7] = ((int) value).ToString(); } }
63 }
64
65 [DatabaseTable("FeatureComponents")]
66 public class FeatureComponent_ : QRecord
67 {
68 public string Feature_ { get { return this[0]; } set { this[0] = value; } }
69 public string Component_ { get { return this[1]; } set { this[1] = value; } }
70 }
71
72 public class File_ : QRecord
73 {
74 public string File { get { return this[0]; } set { this[0] = value; } }
75 public string Component_ { get { return this[1]; } set { this[1] = value; } }
76 public string FileName { get { return this[2]; } set { this[2] = value; } }
77 public int FileSize { get { return this.I(3); } set { this[3] = value.ToString(); } }
78 public string Version { get { return this[4]; } set { this[4] = value; } }
79 public string Language { get { return this[5]; } set { this[5] = value; } }
80 public int Sequence { get { return this.I(7); } set { this[7] = value.ToString(); } }
81 public FileAttributes Attributes
82 { get { return (FileAttributes) this.I(6); } set { this[6] = ((int) value).ToString(); } }
83 }
84
85 [DatabaseTable("MsiFileHash")]
86 public class FileHash_ : QRecord
87 {
88 public string File_ { get { return this[0]; } set { this[0] = value; } }
89 public int Options { get { return this.I(1); } set { this[1] = value.ToString(); } }
90 public int HashPart1 { get { return this.I(2); } set { this[2] = value.ToString(); } }
91 public int HashPart2 { get { return this.I(3); } set { this[3] = value.ToString(); } }
92 public int HashPart3 { get { return this.I(4); } set { this[4] = value.ToString(); } }
93 public int HashPart4 { get { return this.I(5); } set { this[5] = value.ToString(); } }
94 }
95
96 [DatabaseTable("InstallExecuteSequence")]
97 public class InstallSequence_ : QRecord
98 {
99 public string Action { get { return this[0]; } set { this[0] = value; } }
100 public string Condition { get { return this[1]; } set { this[1] = value; } }
101 public int Sequence { get { return this.I(2); } set { this[2] = value.ToString(); } }
102 }
103
104 public class LaunchCondition_ : QRecord
105 {
106 public string Condition { get { return this[0]; } set { this[0] = value; } }
107 public string Description { get { return this[1]; } set { this[1] = value; } }
108 }
109
110 public class Media_ : QRecord
111 {
112 public int DiskId { get { return this.I(0); } set { this[0] = value.ToString(); } }
113 public int LastSequence { get { return this.I(1); } set { this[1] = value.ToString(); } }
114 public string DiskPrompt { get { return this[2]; } set { this[2] = value; } }
115 public string Cabinet { get { return this[3]; } set { this[3] = value; } }
116 public string VolumeLabel { get { return this[4]; } set { this[4] = value; } }
117 public string Source { get { return this[5]; } set { this[5] = value; } }
118 }
119
120 public class Property_ : QRecord
121 {
122 public string Property { get { return this[0]; } set { this[0] = value; } }
123 public string Value { get { return this[1]; } set { this[1] = value; } }
124 }
125
126 public class Registry_ : QRecord
127 {
128 public string Registry { get { return this[0]; } set { this[0] = value; } }
129 public string Key { get { return this[2]; } set { this[2] = value; } }
130 public string Name { get { return this[3]; } set { this[3] = value; } }
131 public string Value { get { return this[4]; } set { this[4] = value; } }
132 public string Component_ { get { return this[5]; } set { this[5] = value; } }
133 public RegistryRoot Root
134 { get { return (RegistryRoot) this.I(1); } set { this[0] = ((int) value).ToString(); } }
135 }
136
137 public class RemoveFile_ : QRecord
138 {
139 public string FileKey { get { return this[0]; } set { this[0] = value; } }
140 public string Component_ { get { return this[2]; } set { this[2] = value; } }
141 public string FileName { get { return this[3]; } set { this[3] = value; } }
142 public string DirProperty { get { return this[4]; } set { this[4] = value; } }
143 public RemoveFileModes InstallMode
144 { get { return (RemoveFileModes) this.I(5); } set { this[5] = ((int) value).ToString(); } }
145 }
146
147 #endregion // Generated code
148 #pragma warning restore 1591
149 #endif // !CODE_ANALYSIS
150}