diff options
Diffstat (limited to 'src/wixext')
-rw-r--r-- | src/wixext/DependencyTableDefinitions.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wixext/DependencyTableDefinitions.cs b/src/wixext/DependencyTableDefinitions.cs index bc3e880a..d563208d 100644 --- a/src/wixext/DependencyTableDefinitions.cs +++ b/src/wixext/DependencyTableDefinitions.cs | |||
@@ -9,6 +9,7 @@ namespace WixToolset.Dependency | |||
9 | { | 9 | { |
10 | public static readonly TableDefinition WixDependencyProvider = new TableDefinition( | 10 | public static readonly TableDefinition WixDependencyProvider = new TableDefinition( |
11 | "WixDependencyProvider", | 11 | "WixDependencyProvider", |
12 | TupleDefinitions.WixDependencyProvider, | ||
12 | new[] | 13 | new[] |
13 | { | 14 | { |
14 | new ColumnDefinition("WixDependencyProvider", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "The non-localized primary key for the table.", modularizeType: ColumnModularizeType.Column), | 15 | new ColumnDefinition("WixDependencyProvider", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "The non-localized primary key for the table.", modularizeType: ColumnModularizeType.Column), |
@@ -18,12 +19,12 @@ namespace WixToolset.Dependency | |||
18 | new ColumnDefinition("DisplayName", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Text, description: "The display name of the package."), | 19 | new ColumnDefinition("DisplayName", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Text, description: "The display name of the package."), |
19 | new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647, description: "A 32-bit word that specifies the attribute flags to be applied."), | 20 | new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647, description: "A 32-bit word that specifies the attribute flags to be applied."), |
20 | }, | 21 | }, |
21 | tupleDefinitionName: TupleDefinitions.WixDependencyProvider.Name, | ||
22 | tupleIdIsPrimaryKey: true | 22 | tupleIdIsPrimaryKey: true |
23 | ); | 23 | ); |
24 | 24 | ||
25 | public static readonly TableDefinition WixDependency = new TableDefinition( | 25 | public static readonly TableDefinition WixDependency = new TableDefinition( |
26 | "WixDependency", | 26 | "WixDependency", |
27 | DependencyTupleDefinitions.WixDependency, | ||
27 | new[] | 28 | new[] |
28 | { | 29 | { |
29 | new ColumnDefinition("WixDependency", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "The non-localized primary key for the table.", modularizeType: ColumnModularizeType.Column), | 30 | new ColumnDefinition("WixDependency", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "The non-localized primary key for the table.", modularizeType: ColumnModularizeType.Column), |
@@ -32,18 +33,17 @@ namespace WixToolset.Dependency | |||
32 | new ColumnDefinition("MaxVersion", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Version, description: "The maximum version of the provider supported."), | 33 | new ColumnDefinition("MaxVersion", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Version, description: "The maximum version of the provider supported."), |
33 | new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647, description: "A 32-bit word that specifies the attribute flags to be applied."), | 34 | new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647, description: "A 32-bit word that specifies the attribute flags to be applied."), |
34 | }, | 35 | }, |
35 | tupleDefinitionName: DependencyTupleDefinitions.WixDependency.Name, | ||
36 | tupleIdIsPrimaryKey: true | 36 | tupleIdIsPrimaryKey: true |
37 | ); | 37 | ); |
38 | 38 | ||
39 | public static readonly TableDefinition WixDependencyRef = new TableDefinition( | 39 | public static readonly TableDefinition WixDependencyRef = new TableDefinition( |
40 | "WixDependencyRef", | 40 | "WixDependencyRef", |
41 | DependencyTupleDefinitions.WixDependencyRef, | ||
41 | new[] | 42 | new[] |
42 | { | 43 | { |
43 | new ColumnDefinition("WixDependencyProvider_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixDependencyProvider", keyColumn: 1, description: "Foreign key into the Component table.", modularizeType: ColumnModularizeType.Column), | 44 | new ColumnDefinition("WixDependencyProvider_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixDependencyProvider", keyColumn: 1, description: "Foreign key into the Component table.", modularizeType: ColumnModularizeType.Column), |
44 | new ColumnDefinition("WixDependency_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixDependency", keyColumn: 1, description: "Foreign key into the WixDependency table.", modularizeType: ColumnModularizeType.Column), | 45 | new ColumnDefinition("WixDependency_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixDependency", keyColumn: 1, description: "Foreign key into the WixDependency table.", modularizeType: ColumnModularizeType.Column), |
45 | }, | 46 | }, |
46 | tupleDefinitionName: DependencyTupleDefinitions.WixDependencyRef.Name, | ||
47 | tupleIdIsPrimaryKey: false | 47 | tupleIdIsPrimaryKey: false |
48 | ); | 48 | ); |
49 | 49 | ||