aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/IisTableDefinitions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/IisTableDefinitions.cs')
-rw-r--r--src/wixext/IisTableDefinitions.cs36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/wixext/IisTableDefinitions.cs b/src/wixext/IisTableDefinitions.cs
index eebfd26a..6c887e96 100644
--- a/src/wixext/IisTableDefinitions.cs
+++ b/src/wixext/IisTableDefinitions.cs
@@ -8,6 +8,7 @@ namespace WixToolset.Iis
8 { 8 {
9 public static readonly TableDefinition Certificate = new TableDefinition( 9 public static readonly TableDefinition Certificate = new TableDefinition(
10 "Certificate", 10 "Certificate",
11 IisTupleDefinitions.Certificate,
11 new[] 12 new[]
12 { 13 {
13 new ColumnDefinition("Certificate", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyColumn: 1, description: "Identifier for the certificate in the package.", modularizeType: ColumnModularizeType.Column), 14 new ColumnDefinition("Certificate", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyColumn: 1, description: "Identifier for the certificate in the package.", modularizeType: ColumnModularizeType.Column),
@@ -20,34 +21,34 @@ namespace WixToolset.Iis
20 new ColumnDefinition("CertificatePath", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Property to path of certificate.", modularizeType: ColumnModularizeType.Property), 21 new ColumnDefinition("CertificatePath", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Property to path of certificate.", modularizeType: ColumnModularizeType.Property),
21 new ColumnDefinition("PFXPassword", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Hidden property to a pfx password", modularizeType: ColumnModularizeType.Property), 22 new ColumnDefinition("PFXPassword", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Hidden property to a pfx password", modularizeType: ColumnModularizeType.Property),
22 }, 23 },
23 tupleDefinitionName: "Certificate",
24 tupleIdIsPrimaryKey: true 24 tupleIdIsPrimaryKey: true
25 ); 25 );
26 26
27 public static readonly TableDefinition CertificateHash = new TableDefinition( 27 public static readonly TableDefinition CertificateHash = new TableDefinition(
28 "CertificateHash", 28 "CertificateHash",
29 IisTupleDefinitions.CertificateHash,
29 new[] 30 new[]
30 { 31 {
31 new ColumnDefinition("Certificate_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyColumn: 1, description: "Foreign key to certificate in Certificate table.", modularizeType: ColumnModularizeType.Column), 32 new ColumnDefinition("Certificate_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyColumn: 1, description: "Foreign key to certificate in Certificate table.", modularizeType: ColumnModularizeType.Column),
32 new ColumnDefinition("Hash", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Base64 encoded SHA1 hash of certificate populated at run-time."), 33 new ColumnDefinition("Hash", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Base64 encoded SHA1 hash of certificate populated at run-time."),
33 }, 34 },
34 tupleDefinitionName: "CertificateHash",
35 tupleIdIsPrimaryKey: false 35 tupleIdIsPrimaryKey: false
36 ); 36 );
37 37
38 public static readonly TableDefinition IIsWebSiteCertificates = new TableDefinition( 38 public static readonly TableDefinition IIsWebSiteCertificates = new TableDefinition(
39 "IIsWebSiteCertificates", 39 "IIsWebSiteCertificates",
40 IisTupleDefinitions.IIsWebSiteCertificates,
40 new[] 41 new[]
41 { 42 {
42 new ColumnDefinition("Web_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "IIsWebSite", keyColumn: 1, description: "The index into the IIsWebSite table.", modularizeType: ColumnModularizeType.Column), 43 new ColumnDefinition("Web_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "IIsWebSite", keyColumn: 1, description: "The index into the IIsWebSite table.", modularizeType: ColumnModularizeType.Column),
43 new ColumnDefinition("Certificate_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Text, keyTable: "Certificate", keyColumn: 1, description: "The index into the Certificate table.", modularizeType: ColumnModularizeType.Column), 44 new ColumnDefinition("Certificate_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Text, keyTable: "Certificate", keyColumn: 1, description: "The index into the Certificate table.", modularizeType: ColumnModularizeType.Column),
44 }, 45 },
45 tupleDefinitionName: "IIsWebSiteCertificates",
46 tupleIdIsPrimaryKey: false 46 tupleIdIsPrimaryKey: false
47 ); 47 );
48 48
49 public static readonly TableDefinition IIsAppPool = new TableDefinition( 49 public static readonly TableDefinition IIsAppPool = new TableDefinition(
50 "IIsAppPool", 50 "IIsAppPool",
51 IisTupleDefinitions.IIsAppPool,
51 new[] 52 new[]
52 { 53 {
53 new ColumnDefinition("AppPool", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for apppool", modularizeType: ColumnModularizeType.Column), 54 new ColumnDefinition("AppPool", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for apppool", modularizeType: ColumnModularizeType.Column),
@@ -67,12 +68,12 @@ namespace WixToolset.Iis
67 new ColumnDefinition("ManagedRuntimeVersion", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Specifies the .NET Framework version to be used by the application pool."), 68 new ColumnDefinition("ManagedRuntimeVersion", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Specifies the .NET Framework version to be used by the application pool."),
68 new ColumnDefinition("ManagedPipelineMode", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Specifies the request-processing mode that is used to process requests for managed content."), 69 new ColumnDefinition("ManagedPipelineMode", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Specifies the request-processing mode that is used to process requests for managed content."),
69 }, 70 },
70 tupleDefinitionName: "IIsAppPool",
71 tupleIdIsPrimaryKey: true 71 tupleIdIsPrimaryKey: true
72 ); 72 );
73 73
74 public static readonly TableDefinition IIsMimeMap = new TableDefinition( 74 public static readonly TableDefinition IIsMimeMap = new TableDefinition(
75 "IIsMimeMap", 75 "IIsMimeMap",
76 IisTupleDefinitions.IIsMimeMap,
76 new[] 77 new[]
77 { 78 {
78 new ColumnDefinition("MimeMap", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for Mime Map definitions", modularizeType: ColumnModularizeType.Column), 79 new ColumnDefinition("MimeMap", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for Mime Map definitions", modularizeType: ColumnModularizeType.Column),
@@ -81,12 +82,12 @@ namespace WixToolset.Iis
81 new ColumnDefinition("MimeType", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Text, description: "Mime-type covered by the MimeMap."), 82 new ColumnDefinition("MimeType", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Text, description: "Mime-type covered by the MimeMap."),
82 new ColumnDefinition("Extension", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Text, description: "Extension covered by the MimeMap."), 83 new ColumnDefinition("Extension", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Text, description: "Extension covered by the MimeMap."),
83 }, 84 },
84 tupleDefinitionName: "IIsMimeMap",
85 tupleIdIsPrimaryKey: true 85 tupleIdIsPrimaryKey: true
86 ); 86 );
87 87
88 public static readonly TableDefinition IIsProperty = new TableDefinition( 88 public static readonly TableDefinition IIsProperty = new TableDefinition(
89 "IIsProperty", 89 "IIsProperty",
90 IisTupleDefinitions.IIsProperty,
90 new[] 91 new[]
91 { 92 {
92 new ColumnDefinition("Property", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Unique name of the IIsProperty"), 93 new ColumnDefinition("Property", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Unique name of the IIsProperty"),
@@ -94,12 +95,12 @@ namespace WixToolset.Iis
94 new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, description: "Attributes of the IIsProperty (unused)"), 95 new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, description: "Attributes of the IIsProperty (unused)"),
95 new ColumnDefinition("Value", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Value of the IIsProperty"), 96 new ColumnDefinition("Value", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Value of the IIsProperty"),
96 }, 97 },
97 tupleDefinitionName: "IIsProperty",
98 tupleIdIsPrimaryKey: true 98 tupleIdIsPrimaryKey: true
99 ); 99 );
100 100
101 public static readonly TableDefinition IIsWebDirProperties = new TableDefinition( 101 public static readonly TableDefinition IIsWebDirProperties = new TableDefinition(
102 "IIsWebDirProperties", 102 "IIsWebDirProperties",
103 IisTupleDefinitions.IIsWebDirProperties,
103 new[] 104 new[]
104 { 105 {
105 new ColumnDefinition("DirProperties", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for Web Properties", modularizeType: ColumnModularizeType.Column), 106 new ColumnDefinition("DirProperties", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for Web Properties", modularizeType: ColumnModularizeType.Column),
@@ -118,12 +119,12 @@ namespace WixToolset.Iis
118 new ColumnDefinition("AccessSSLFlags", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Specifies AccessSSLFlags IIS metabase property."), 119 new ColumnDefinition("AccessSSLFlags", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Specifies AccessSSLFlags IIS metabase property."),
119 new ColumnDefinition("AuthenticationProviders", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Comma delimited list, in order of precedence, of Windows authentication providers that IIS will attempt to use: NTLM, Kerberos, Negotiate, and others."), 120 new ColumnDefinition("AuthenticationProviders", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Comma delimited list, in order of precedence, of Windows authentication providers that IIS will attempt to use: NTLM, Kerberos, Negotiate, and others."),
120 }, 121 },
121 tupleDefinitionName: "IIsWebDirProperties",
122 tupleIdIsPrimaryKey: true 122 tupleIdIsPrimaryKey: true
123 ); 123 );
124 124
125 public static readonly TableDefinition IIsWebAddress = new TableDefinition( 125 public static readonly TableDefinition IIsWebAddress = new TableDefinition(
126 "IIsWebAddress", 126 "IIsWebAddress",
127 IisTupleDefinitions.IIsWebAddress,
127 new[] 128 new[]
128 { 129 {
129 new ColumnDefinition("Address", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), 130 new ColumnDefinition("Address", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column),
@@ -133,12 +134,12 @@ namespace WixToolset.Iis
133 new ColumnDefinition("Header", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Special header information for the web site"), 134 new ColumnDefinition("Header", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Special header information for the web site"),
134 new ColumnDefinition("Secure", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, possibilities: "0;1", description: "Specifies whether SSL is used to communicate with web site"), 135 new ColumnDefinition("Secure", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, possibilities: "0;1", description: "Specifies whether SSL is used to communicate with web site"),
135 }, 136 },
136 tupleDefinitionName: "IIsWebAddress",
137 tupleIdIsPrimaryKey: true 137 tupleIdIsPrimaryKey: true
138 ); 138 );
139 139
140 public static readonly TableDefinition IIsWebSite = new TableDefinition( 140 public static readonly TableDefinition IIsWebSite = new TableDefinition(
141 "IIsWebSite", 141 "IIsWebSite",
142 IisTupleDefinitions.IIsWebSite,
142 new[] 143 new[]
143 { 144 {
144 new ColumnDefinition("Web", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), 145 new ColumnDefinition("Web", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column),
@@ -155,12 +156,12 @@ namespace WixToolset.Iis
155 new ColumnDefinition("Log_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, keyTable: "IIsWebLog", keyColumn: 1, description: "Foreign key reference to IIsWebLog data", modularizeType: ColumnModularizeType.Column), 156 new ColumnDefinition("Log_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown, keyTable: "IIsWebLog", keyColumn: 1, description: "Foreign key reference to IIsWebLog data", modularizeType: ColumnModularizeType.Column),
156 new ColumnDefinition("Id", ColumnType.String, 74, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Optional number or formatted value that resolves to number that acts as the WebSite Id."), 157 new ColumnDefinition("Id", ColumnType.String, 74, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Optional number or formatted value that resolves to number that acts as the WebSite Id."),
157 }, 158 },
158 tupleDefinitionName: "IIsWebSite",
159 tupleIdIsPrimaryKey: true 159 tupleIdIsPrimaryKey: true
160 ); 160 );
161 161
162 public static readonly TableDefinition IIsWebApplication = new TableDefinition( 162 public static readonly TableDefinition IIsWebApplication = new TableDefinition(
163 "IIsWebApplication", 163 "IIsWebApplication",
164 IisTupleDefinitions.IIsWebApplication,
164 new[] 165 new[]
165 { 166 {
166 new ColumnDefinition("Application", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for ASP Application", modularizeType: ColumnModularizeType.Column), 167 new ColumnDefinition("Application", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token for ASP Application", modularizeType: ColumnModularizeType.Column),
@@ -176,12 +177,12 @@ namespace WixToolset.Iis
176 new ColumnDefinition("ClientDebugging", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, possibilities: "0;1", description: "Specifies whether to allow ASP client-side script debugging"), 177 new ColumnDefinition("ClientDebugging", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, possibilities: "0;1", description: "Specifies whether to allow ASP client-side script debugging"),
177 new ColumnDefinition("AppPool_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsAppPool", keyColumn: 1, description: "App Pool this application should run under", modularizeType: ColumnModularizeType.Column), 178 new ColumnDefinition("AppPool_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsAppPool", keyColumn: 1, description: "App Pool this application should run under", modularizeType: ColumnModularizeType.Column),
178 }, 179 },
179 tupleDefinitionName: "IIsWebApplication",
180 tupleIdIsPrimaryKey: true 180 tupleIdIsPrimaryKey: true
181 ); 181 );
182 182
183 public static readonly TableDefinition IIsWebApplicationExtension = new TableDefinition( 183 public static readonly TableDefinition IIsWebApplicationExtension = new TableDefinition(
184 "IIsWebApplicationExtension", 184 "IIsWebApplicationExtension",
185 IisTupleDefinitions.IIsWebApplicationExtension,
185 new[] 186 new[]
186 { 187 {
187 new ColumnDefinition("Application_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "IIsWebApplication", keyColumn: 1, description: "Foreign key referencing possible ASP application for the web site", modularizeType: ColumnModularizeType.Column), 188 new ColumnDefinition("Application_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "IIsWebApplication", keyColumn: 1, description: "Foreign key referencing possible ASP application for the web site", modularizeType: ColumnModularizeType.Column),
@@ -190,12 +191,12 @@ namespace WixToolset.Iis
190 new ColumnDefinition("Executable", ColumnType.String, 255, primaryKey: false, nullable: false, ColumnCategory.Formatted, description: "Path to extension (usually file property: [#file])", modularizeType: ColumnModularizeType.Property), 191 new ColumnDefinition("Executable", ColumnType.String, 255, primaryKey: false, nullable: false, ColumnCategory.Formatted, description: "Path to extension (usually file property: [#file])", modularizeType: ColumnModularizeType.Property),
191 new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, possibilities: "1;4;5", description: "Attributes for extension: 1 == Script, 4 == Check Path Info"), 192 new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, possibilities: "1;4;5", description: "Attributes for extension: 1 == Script, 4 == Check Path Info"),
192 }, 193 },
193 tupleDefinitionName: "IIsWebApplicationExtension",
194 tupleIdIsPrimaryKey: false 194 tupleIdIsPrimaryKey: false
195 ); 195 );
196 196
197 public static readonly TableDefinition IIsFilter = new TableDefinition( 197 public static readonly TableDefinition IIsFilter = new TableDefinition(
198 "IIsFilter", 198 "IIsFilter",
199 IisTupleDefinitions.IIsFilter,
199 new[] 200 new[]
200 { 201 {
201 new ColumnDefinition("Filter", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), 202 new ColumnDefinition("Filter", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column),
@@ -207,12 +208,12 @@ namespace WixToolset.Iis
207 new ColumnDefinition("Flags", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647, description: "What do all these numbers mean?"), 208 new ColumnDefinition("Flags", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647, description: "What do all these numbers mean?"),
208 new ColumnDefinition("LoadOrder", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "-1 == last in order, 0 == first in order, # == place in order"), 209 new ColumnDefinition("LoadOrder", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "-1 == last in order, 0 == first in order, # == place in order"),
209 }, 210 },
210 tupleDefinitionName: "IIsFilter",
211 tupleIdIsPrimaryKey: true 211 tupleIdIsPrimaryKey: true
212 ); 212 );
213 213
214 public static readonly TableDefinition IIsWebDir = new TableDefinition( 214 public static readonly TableDefinition IIsWebDir = new TableDefinition(
215 "IIsWebDir", 215 "IIsWebDir",
216 IisTupleDefinitions.IIsWebDir,
216 new[] 217 new[]
217 { 218 {
218 new ColumnDefinition("WebDir", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), 219 new ColumnDefinition("WebDir", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column),
@@ -222,12 +223,12 @@ namespace WixToolset.Iis
222 new ColumnDefinition("DirProperties_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebDirProperties", keyColumn: 1, description: "Foreign key referencing possible security information for the virtual directory", modularizeType: ColumnModularizeType.Column), 223 new ColumnDefinition("DirProperties_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebDirProperties", keyColumn: 1, description: "Foreign key referencing possible security information for the virtual directory", modularizeType: ColumnModularizeType.Column),
223 new ColumnDefinition("Application_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebApplication", keyColumn: 1, description: "Foreign key referencing possible ASP application for the virtual directory. This column is currently unused, but maintained for compatibility reasons.", modularizeType: ColumnModularizeType.Column), 224 new ColumnDefinition("Application_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebApplication", keyColumn: 1, description: "Foreign key referencing possible ASP application for the virtual directory. This column is currently unused, but maintained for compatibility reasons.", modularizeType: ColumnModularizeType.Column),
224 }, 225 },
225 tupleDefinitionName: "IIsWebDir",
226 tupleIdIsPrimaryKey: true 226 tupleIdIsPrimaryKey: true
227 ); 227 );
228 228
229 public static readonly TableDefinition IIsWebError = new TableDefinition( 229 public static readonly TableDefinition IIsWebError = new TableDefinition(
230 "IIsWebError", 230 "IIsWebError",
231 IisTupleDefinitions.IIsWebError,
231 new[] 232 new[]
232 { 233 {
233 new ColumnDefinition("ErrorCode", ColumnType.Number, 2, primaryKey: true, nullable: false, ColumnCategory.Unknown, minValue: 400, maxValue: 599, description: "HTTP status code indicating error."), 234 new ColumnDefinition("ErrorCode", ColumnType.Number, 2, primaryKey: true, nullable: false, ColumnCategory.Unknown, minValue: 400, maxValue: 599, description: "HTTP status code indicating error."),
@@ -237,12 +238,12 @@ namespace WixToolset.Iis
237 new ColumnDefinition("File", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Path to file for this custom error (usually file property: [#file]). Must be null if URL is not null."), 238 new ColumnDefinition("File", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Path to file for this custom error (usually file property: [#file]). Must be null if URL is not null."),
238 new ColumnDefinition("URL", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "URL for this custom error. Must be null if File is not null."), 239 new ColumnDefinition("URL", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "URL for this custom error. Must be null if File is not null."),
239 }, 240 },
240 tupleDefinitionName: "IIsWebError",
241 tupleIdIsPrimaryKey: false 241 tupleIdIsPrimaryKey: false
242 ); 242 );
243 243
244 public static readonly TableDefinition IIsHttpHeader = new TableDefinition( 244 public static readonly TableDefinition IIsHttpHeader = new TableDefinition(
245 "IIsHttpHeader", 245 "IIsHttpHeader",
246 IisTupleDefinitions.IIsHttpHeader,
246 new[] 247 new[]
247 { 248 {
248 new ColumnDefinition("HttpHeader", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), 249 new ColumnDefinition("HttpHeader", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column),
@@ -253,12 +254,12 @@ namespace WixToolset.Iis
253 new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 0, description: "Attributes for HTTP Header: none"), 254 new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 0, description: "Attributes for HTTP Header: none"),
254 new ColumnDefinition("Sequence", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Order to add the HTTP Headers."), 255 new ColumnDefinition("Sequence", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, description: "Order to add the HTTP Headers."),
255 }, 256 },
256 tupleDefinitionName: "IIsHttpHeader",
257 tupleIdIsPrimaryKey: false 257 tupleIdIsPrimaryKey: false
258 ); 258 );
259 259
260 public static readonly TableDefinition IIsWebServiceExtension = new TableDefinition( 260 public static readonly TableDefinition IIsWebServiceExtension = new TableDefinition(
261 "IIsWebServiceExtension", 261 "IIsWebServiceExtension",
262 IisTupleDefinitions.IIsWebServiceExtension,
262 new[] 263 new[]
263 { 264 {
264 new ColumnDefinition("WebServiceExtension", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), 265 new ColumnDefinition("WebServiceExtension", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column),
@@ -268,12 +269,12 @@ namespace WixToolset.Iis
268 new ColumnDefinition("Group", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "String used to identify groups of extensions.", modularizeType: ColumnModularizeType.Property), 269 new ColumnDefinition("Group", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "String used to identify groups of extensions.", modularizeType: ColumnModularizeType.Property),
269 new ColumnDefinition("Attributes", ColumnType.Number, 1, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 3, description: "Attributes for WebServiceExtension: 1 = Allow, 2 = UIDeletable"), 270 new ColumnDefinition("Attributes", ColumnType.Number, 1, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 3, description: "Attributes for WebServiceExtension: 1 = Allow, 2 = UIDeletable"),
270 }, 271 },
271 tupleDefinitionName: "IIsWebServiceExtension",
272 tupleIdIsPrimaryKey: true 272 tupleIdIsPrimaryKey: true
273 ); 273 );
274 274
275 public static readonly TableDefinition IIsWebVirtualDir = new TableDefinition( 275 public static readonly TableDefinition IIsWebVirtualDir = new TableDefinition(
276 "IIsWebVirtualDir", 276 "IIsWebVirtualDir",
277 IisTupleDefinitions.IIsWebVirtualDir,
277 new[] 278 new[]
278 { 279 {
279 new ColumnDefinition("VirtualDir", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), 280 new ColumnDefinition("VirtualDir", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column),
@@ -284,18 +285,17 @@ namespace WixToolset.Iis
284 new ColumnDefinition("DirProperties_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebDirProperties", keyColumn: 1, description: "Foreign key referencing possible security information for the virtual directory", modularizeType: ColumnModularizeType.Column), 285 new ColumnDefinition("DirProperties_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebDirProperties", keyColumn: 1, description: "Foreign key referencing possible security information for the virtual directory", modularizeType: ColumnModularizeType.Column),
285 new ColumnDefinition("Application_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebApplication", keyColumn: 1, description: "Foreign key referencing possible ASP application for the virtual directory", modularizeType: ColumnModularizeType.Column), 286 new ColumnDefinition("Application_", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "IIsWebApplication", keyColumn: 1, description: "Foreign key referencing possible ASP application for the virtual directory", modularizeType: ColumnModularizeType.Column),
286 }, 287 },
287 tupleDefinitionName: "IIsWebVirtualDir",
288 tupleIdIsPrimaryKey: true 288 tupleIdIsPrimaryKey: true
289 ); 289 );
290 290
291 public static readonly TableDefinition IIsWebLog = new TableDefinition( 291 public static readonly TableDefinition IIsWebLog = new TableDefinition(
292 "IIsWebLog", 292 "IIsWebLog",
293 IisTupleDefinitions.IIsWebLog,
293 new[] 294 new[]
294 { 295 {
295 new ColumnDefinition("Log", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column), 296 new ColumnDefinition("Log", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key, non-localized token", modularizeType: ColumnModularizeType.Column),
296 new ColumnDefinition("Format", ColumnType.String, 255, primaryKey: false, nullable: false, ColumnCategory.Text, description: "Type of log format"), 297 new ColumnDefinition("Format", ColumnType.String, 255, primaryKey: false, nullable: false, ColumnCategory.Text, description: "Type of log format"),
297 }, 298 },
298 tupleDefinitionName: "IIsWebLog",
299 tupleIdIsPrimaryKey: true 299 tupleIdIsPrimaryKey: true
300 ); 300 );
301 301