aboutsummaryrefslogtreecommitdiff
path: root/src/test/Example.Extension/ExampleTableDefinitions.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2021-04-22 17:19:56 -0700
committerRob Mensching <rob@firegiant.com>2021-04-29 19:53:52 -0700
commit8cf0427984a88b0b3ddfb2061e5be721afffe82e (patch)
tree22e2aaf7665d5ab6d3dc2a8ce8f05d73080d1f20 /src/test/Example.Extension/ExampleTableDefinitions.cs
parent8426095723fb8530a321260473ab543151bf8c98 (diff)
downloadwix-8cf0427984a88b0b3ddfb2061e5be721afffe82e.tar.gz
wix-8cf0427984a88b0b3ddfb2061e5be721afffe82e.tar.bz2
wix-8cf0427984a88b0b3ddfb2061e5be721afffe82e.zip
Move Core into wix
Diffstat (limited to 'src/test/Example.Extension/ExampleTableDefinitions.cs')
-rw-r--r--src/test/Example.Extension/ExampleTableDefinitions.cs34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/test/Example.Extension/ExampleTableDefinitions.cs b/src/test/Example.Extension/ExampleTableDefinitions.cs
deleted file mode 100644
index a2b81698..00000000
--- a/src/test/Example.Extension/ExampleTableDefinitions.cs
+++ /dev/null
@@ -1,34 +0,0 @@
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 Example.Extension
4{
5 using WixToolset.Data.WindowsInstaller;
6
7 public static class ExampleTableDefinitions
8 {
9 public static readonly TableDefinition ExampleTable = new TableDefinition(
10 "Wix4Example",
11 ExampleSymbolDefinitions.Example,
12 new[]
13 {
14 new ColumnDefinition("Example", ColumnType.String, 72, true, false, ColumnCategory.Identifier),
15 new ColumnDefinition("Value", ColumnType.String, 0, false, false, ColumnCategory.Formatted),
16 },
17 strongRowType: typeof(ExampleRow),
18 symbolIdIsPrimaryKey: true
19 );
20
21 public static readonly TableDefinition NotInAll = new TableDefinition(
22 "TableDefinitionNotExposedByExtension",
23 null,
24 new[]
25 {
26 new ColumnDefinition("Example", ColumnType.String, 72, true, false, ColumnCategory.Identifier),
27 new ColumnDefinition("Value", ColumnType.String, 0, false, false, ColumnCategory.Formatted),
28 },
29 symbolIdIsPrimaryKey: true
30 );
31
32 public static readonly TableDefinition[] All = new[] { ExampleTable };
33 }
34}