diff options
Diffstat (limited to 'src/ext/NetFx/wixext/NetfxTableDefinitions.cs')
-rw-r--r-- | src/ext/NetFx/wixext/NetfxTableDefinitions.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ext/NetFx/wixext/NetfxTableDefinitions.cs b/src/ext/NetFx/wixext/NetfxTableDefinitions.cs new file mode 100644 index 00000000..1b2a4d21 --- /dev/null +++ b/src/ext/NetFx/wixext/NetfxTableDefinitions.cs | |||
@@ -0,0 +1,30 @@ | |||
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.Netfx | ||
4 | { | ||
5 | using WixToolset.Data.WindowsInstaller; | ||
6 | using WixToolset.Netfx.Symbols; | ||
7 | |||
8 | public static class NetfxTableDefinitions | ||
9 | { | ||
10 | public static readonly TableDefinition NetFxNativeImage = new TableDefinition( | ||
11 | "Wix4NetFxNativeImage", | ||
12 | NetfxSymbolDefinitions.NetFxNativeImage, | ||
13 | new[] | ||
14 | { | ||
15 | new ColumnDefinition("Wix4NetFxNativeImage", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "The primary key, a non-localized token.", modularizeType: ColumnModularizeType.Column), | ||
16 | new ColumnDefinition("File_", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Identifier, keyTable: "File", keyColumn: 1, description: "The assembly for which a native image will be generated.", modularizeType: ColumnModularizeType.Column), | ||
17 | new ColumnDefinition("Priority", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Integer, minValue: 0, maxValue: 3, description: "The priority for generating this native image: 0 is syncronous, 1-3 represent various levels of queued generation."), | ||
18 | new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Integer, minValue: 0, maxValue: 2147483647, description: "Integer containing bit flags representing native image attributes."), | ||
19 | new ColumnDefinition("File_Application", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "The application which loads this assembly.", modularizeType: ColumnModularizeType.Column), | ||
20 | new ColumnDefinition("Directory_ApplicationBase", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "The directory containing the application which loads this assembly.", modularizeType: ColumnModularizeType.Column), | ||
21 | }, | ||
22 | symbolIdIsPrimaryKey: true | ||
23 | ); | ||
24 | |||
25 | public static readonly TableDefinition[] All = new[] | ||
26 | { | ||
27 | NetFxNativeImage, | ||
28 | }; | ||
29 | } | ||
30 | } | ||