diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-04-13 16:39:11 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-04-13 20:28:02 +1000 |
commit | ddb4161e3d9d13703b0df2915e68b5b4ef47e71b (patch) | |
tree | b2a6033b3875662f6dee47295b15ceb4463d23a9 /src | |
parent | d0d447ad64afdd5956856c4c6b6599f69a522d6b (diff) | |
download | wix-ddb4161e3d9d13703b0df2915e68b5b4ef47e71b.tar.gz wix-ddb4161e3d9d13703b0df2915e68b5b4ef47e71b.tar.bz2 wix-ddb4161e3d9d13703b0df2915e68b5b4ef47e71b.zip |
Try to be more accurate in the tuples with nullable fields.
Diffstat (limited to 'src')
21 files changed, 62 insertions, 62 deletions
diff --git a/src/WixToolset.Data/Tuples/BillboardTuple.cs b/src/WixToolset.Data/Tuples/BillboardTuple.cs index 9931d16a..c5242d33 100644 --- a/src/WixToolset.Data/Tuples/BillboardTuple.cs +++ b/src/WixToolset.Data/Tuples/BillboardTuple.cs | |||
@@ -51,9 +51,9 @@ namespace WixToolset.Data.Tuples | |||
51 | set => this.Set((int)BillboardTupleFields.Action, value); | 51 | set => this.Set((int)BillboardTupleFields.Action, value); |
52 | } | 52 | } |
53 | 53 | ||
54 | public int Ordering | 54 | public int? Ordering |
55 | { | 55 | { |
56 | get => (int)this.Fields[(int)BillboardTupleFields.Ordering]; | 56 | get => (int?)this.Fields[(int)BillboardTupleFields.Ordering]; |
57 | set => this.Set((int)BillboardTupleFields.Ordering, value); | 57 | set => this.Set((int)BillboardTupleFields.Ordering, value); |
58 | } | 58 | } |
59 | } | 59 | } |
diff --git a/src/WixToolset.Data/Tuples/ComplusTuple.cs b/src/WixToolset.Data/Tuples/ComplusTuple.cs index bd76c0d3..428f3a8e 100644 --- a/src/WixToolset.Data/Tuples/ComplusTuple.cs +++ b/src/WixToolset.Data/Tuples/ComplusTuple.cs | |||
@@ -43,9 +43,9 @@ namespace WixToolset.Data.Tuples | |||
43 | set => this.Set((int)ComplusTupleFields.ComponentRef, value); | 43 | set => this.Set((int)ComplusTupleFields.ComponentRef, value); |
44 | } | 44 | } |
45 | 45 | ||
46 | public int ExpType | 46 | public int? ExpType |
47 | { | 47 | { |
48 | get => (int)this.Fields[(int)ComplusTupleFields.ExpType]; | 48 | get => (int?)this.Fields[(int)ComplusTupleFields.ExpType]; |
49 | set => this.Set((int)ComplusTupleFields.ExpType, value); | 49 | set => this.Set((int)ComplusTupleFields.ExpType, value); |
50 | } | 50 | } |
51 | } | 51 | } |
diff --git a/src/WixToolset.Data/Tuples/ControlEventTuple.cs b/src/WixToolset.Data/Tuples/ControlEventTuple.cs index 96d0bcdc..9c460353 100644 --- a/src/WixToolset.Data/Tuples/ControlEventTuple.cs +++ b/src/WixToolset.Data/Tuples/ControlEventTuple.cs | |||
@@ -75,9 +75,9 @@ namespace WixToolset.Data.Tuples | |||
75 | set => this.Set((int)ControlEventTupleFields.Condition, value); | 75 | set => this.Set((int)ControlEventTupleFields.Condition, value); |
76 | } | 76 | } |
77 | 77 | ||
78 | public int Ordering | 78 | public int? Ordering |
79 | { | 79 | { |
80 | get => (int)this.Fields[(int)ControlEventTupleFields.Ordering]; | 80 | get => (int?)this.Fields[(int)ControlEventTupleFields.Ordering]; |
81 | set => this.Set((int)ControlEventTupleFields.Ordering, value); | 81 | set => this.Set((int)ControlEventTupleFields.Ordering, value); |
82 | } | 82 | } |
83 | } | 83 | } |
diff --git a/src/WixToolset.Data/Tuples/ControlTuple.cs b/src/WixToolset.Data/Tuples/ControlTuple.cs index f0fd92c1..ed61392e 100644 --- a/src/WixToolset.Data/Tuples/ControlTuple.cs +++ b/src/WixToolset.Data/Tuples/ControlTuple.cs | |||
@@ -119,9 +119,9 @@ namespace WixToolset.Data.Tuples | |||
119 | set => this.Set((int)ControlTupleFields.Height, value); | 119 | set => this.Set((int)ControlTupleFields.Height, value); |
120 | } | 120 | } |
121 | 121 | ||
122 | public int Attributes | 122 | public int? Attributes |
123 | { | 123 | { |
124 | get => this.Fields[(int)ControlTupleFields.Attributes].AsNumber(); | 124 | get => (int?)this.Fields[(int)ControlTupleFields.Attributes]; |
125 | set => this.Set((int)ControlTupleFields.Attributes, value); | 125 | set => this.Set((int)ControlTupleFields.Attributes, value); |
126 | } | 126 | } |
127 | 127 | ||
diff --git a/src/WixToolset.Data/Tuples/DrLocatorTuple.cs b/src/WixToolset.Data/Tuples/DrLocatorTuple.cs index 4f696b5c..667ffda1 100644 --- a/src/WixToolset.Data/Tuples/DrLocatorTuple.cs +++ b/src/WixToolset.Data/Tuples/DrLocatorTuple.cs | |||
@@ -59,9 +59,9 @@ namespace WixToolset.Data.Tuples | |||
59 | set => this.Set((int)DrLocatorTupleFields.Path, value); | 59 | set => this.Set((int)DrLocatorTupleFields.Path, value); |
60 | } | 60 | } |
61 | 61 | ||
62 | public int Depth | 62 | public int? Depth |
63 | { | 63 | { |
64 | get => (int)this.Fields[(int)DrLocatorTupleFields.Depth]; | 64 | get => (int?)this.Fields[(int)DrLocatorTupleFields.Depth]; |
65 | set => this.Set((int)DrLocatorTupleFields.Depth, value); | 65 | set => this.Set((int)DrLocatorTupleFields.Depth, value); |
66 | } | 66 | } |
67 | } | 67 | } |
diff --git a/src/WixToolset.Data/Tuples/ImageFamiliesTuple.cs b/src/WixToolset.Data/Tuples/ImageFamiliesTuple.cs index b7052ee3..4538b88c 100644 --- a/src/WixToolset.Data/Tuples/ImageFamiliesTuple.cs +++ b/src/WixToolset.Data/Tuples/ImageFamiliesTuple.cs | |||
@@ -57,9 +57,9 @@ namespace WixToolset.Data.Tuples | |||
57 | set => this.Set((int)ImageFamiliesTupleFields.MediaSrcPropName, value); | 57 | set => this.Set((int)ImageFamiliesTupleFields.MediaSrcPropName, value); |
58 | } | 58 | } |
59 | 59 | ||
60 | public int MediaDiskId | 60 | public int? MediaDiskId |
61 | { | 61 | { |
62 | get => (int)this.Fields[(int)ImageFamiliesTupleFields.MediaDiskId]; | 62 | get => (int?)this.Fields[(int)ImageFamiliesTupleFields.MediaDiskId]; |
63 | set => this.Set((int)ImageFamiliesTupleFields.MediaDiskId, value); | 63 | set => this.Set((int)ImageFamiliesTupleFields.MediaDiskId, value); |
64 | } | 64 | } |
65 | 65 | ||
diff --git a/src/WixToolset.Data/Tuples/IniLocatorTuple.cs b/src/WixToolset.Data/Tuples/IniLocatorTuple.cs index 0bb670c6..1a52715d 100644 --- a/src/WixToolset.Data/Tuples/IniLocatorTuple.cs +++ b/src/WixToolset.Data/Tuples/IniLocatorTuple.cs | |||
@@ -77,7 +77,7 @@ namespace WixToolset.Data.Tuples | |||
77 | 77 | ||
78 | public int? Type | 78 | public int? Type |
79 | { | 79 | { |
80 | get => this.Fields[(int)IniLocatorTupleFields.Type].AsNullableNumber(); | 80 | get => (int?)this.Fields[(int)IniLocatorTupleFields.Type]; |
81 | set => this.Set((int)IniLocatorTupleFields.Type, value); | 81 | set => this.Set((int)IniLocatorTupleFields.Type, value); |
82 | } | 82 | } |
83 | } | 83 | } |
diff --git a/src/WixToolset.Data/Tuples/MsiEmbeddedUITuple.cs b/src/WixToolset.Data/Tuples/MsiEmbeddedUITuple.cs index 83cfcc43..baedf56b 100644 --- a/src/WixToolset.Data/Tuples/MsiEmbeddedUITuple.cs +++ b/src/WixToolset.Data/Tuples/MsiEmbeddedUITuple.cs | |||
@@ -61,9 +61,9 @@ namespace WixToolset.Data.Tuples | |||
61 | set => this.Set((int)MsiEmbeddedUITupleFields.SupportsBasicUI, value); | 61 | set => this.Set((int)MsiEmbeddedUITupleFields.SupportsBasicUI, value); |
62 | } | 62 | } |
63 | 63 | ||
64 | public int MessageFilter | 64 | public int? MessageFilter |
65 | { | 65 | { |
66 | get => (int)this.Fields[(int)MsiEmbeddedUITupleFields.MessageFilter]; | 66 | get => (int?)this.Fields[(int)MsiEmbeddedUITupleFields.MessageFilter]; |
67 | set => this.Set((int)MsiEmbeddedUITupleFields.MessageFilter, value); | 67 | set => this.Set((int)MsiEmbeddedUITupleFields.MessageFilter, value); |
68 | } | 68 | } |
69 | 69 | ||
diff --git a/src/WixToolset.Data/Tuples/MsiPatchSequenceTuple.cs b/src/WixToolset.Data/Tuples/MsiPatchSequenceTuple.cs index 1d5a5d90..143e58a0 100644 --- a/src/WixToolset.Data/Tuples/MsiPatchSequenceTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiPatchSequenceTuple.cs | |||
@@ -59,9 +59,9 @@ namespace WixToolset.Data.Tuples | |||
59 | set => this.Set((int)MsiPatchSequenceTupleFields.Sequence, value); | 59 | set => this.Set((int)MsiPatchSequenceTupleFields.Sequence, value); |
60 | } | 60 | } |
61 | 61 | ||
62 | public int Attributes | 62 | public int? Attributes |
63 | { | 63 | { |
64 | get => (int)this.Fields[(int)MsiPatchSequenceTupleFields.Attributes]; | 64 | get => (int?)this.Fields[(int)MsiPatchSequenceTupleFields.Attributes]; |
65 | set => this.Set((int)MsiPatchSequenceTupleFields.Attributes, value); | 65 | set => this.Set((int)MsiPatchSequenceTupleFields.Attributes, value); |
66 | } | 66 | } |
67 | } | 67 | } |
diff --git a/src/WixToolset.Data/Tuples/MsiServiceConfigFailureActionsTuple.cs b/src/WixToolset.Data/Tuples/MsiServiceConfigFailureActionsTuple.cs index 8a0001ae..faf9069e 100644 --- a/src/WixToolset.Data/Tuples/MsiServiceConfigFailureActionsTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiServiceConfigFailureActionsTuple.cs | |||
@@ -79,7 +79,7 @@ namespace WixToolset.Data.Tuples | |||
79 | 79 | ||
80 | public int? ResetPeriod | 80 | public int? ResetPeriod |
81 | { | 81 | { |
82 | get => (int)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.ResetPeriod].AsNullableNumber(); | 82 | get => (int?)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.ResetPeriod]; |
83 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.ResetPeriod, value); | 83 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.ResetPeriod, value); |
84 | } | 84 | } |
85 | 85 | ||
diff --git a/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs b/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs index 857e8d6e..f7036a05 100644 --- a/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs +++ b/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs | |||
@@ -59,9 +59,9 @@ namespace WixToolset.Data.Tuples | |||
59 | set => this.Set((int)PatchSequenceTupleFields.Sequence, value); | 59 | set => this.Set((int)PatchSequenceTupleFields.Sequence, value); |
60 | } | 60 | } |
61 | 61 | ||
62 | public int Supersede | 62 | public int? Supersede |
63 | { | 63 | { |
64 | get => (int)this.Fields[(int)PatchSequenceTupleFields.Supersede]; | 64 | get => (int?)this.Fields[(int)PatchSequenceTupleFields.Supersede]; |
65 | set => this.Set((int)PatchSequenceTupleFields.Supersede, value); | 65 | set => this.Set((int)PatchSequenceTupleFields.Supersede, value); |
66 | } | 66 | } |
67 | } | 67 | } |
diff --git a/src/WixToolset.Data/Tuples/SignatureTuple.cs b/src/WixToolset.Data/Tuples/SignatureTuple.cs index db380bb6..ed559f64 100644 --- a/src/WixToolset.Data/Tuples/SignatureTuple.cs +++ b/src/WixToolset.Data/Tuples/SignatureTuple.cs | |||
@@ -67,27 +67,27 @@ namespace WixToolset.Data.Tuples | |||
67 | set => this.Set((int)SignatureTupleFields.MaxVersion, value); | 67 | set => this.Set((int)SignatureTupleFields.MaxVersion, value); |
68 | } | 68 | } |
69 | 69 | ||
70 | public int MinSize | 70 | public int? MinSize |
71 | { | 71 | { |
72 | get => (int)this.Fields[(int)SignatureTupleFields.MinSize]; | 72 | get => (int?)this.Fields[(int)SignatureTupleFields.MinSize]; |
73 | set => this.Set((int)SignatureTupleFields.MinSize, value); | 73 | set => this.Set((int)SignatureTupleFields.MinSize, value); |
74 | } | 74 | } |
75 | 75 | ||
76 | public int MaxSize | 76 | public int? MaxSize |
77 | { | 77 | { |
78 | get => (int)this.Fields[(int)SignatureTupleFields.MaxSize]; | 78 | get => (int?)this.Fields[(int)SignatureTupleFields.MaxSize]; |
79 | set => this.Set((int)SignatureTupleFields.MaxSize, value); | 79 | set => this.Set((int)SignatureTupleFields.MaxSize, value); |
80 | } | 80 | } |
81 | 81 | ||
82 | public int MinDate | 82 | public int? MinDate |
83 | { | 83 | { |
84 | get => (int)this.Fields[(int)SignatureTupleFields.MinDate]; | 84 | get => (int?)this.Fields[(int)SignatureTupleFields.MinDate]; |
85 | set => this.Set((int)SignatureTupleFields.MinDate, value); | 85 | set => this.Set((int)SignatureTupleFields.MinDate, value); |
86 | } | 86 | } |
87 | 87 | ||
88 | public int MaxDate | 88 | public int? MaxDate |
89 | { | 89 | { |
90 | get => (int)this.Fields[(int)SignatureTupleFields.MaxDate]; | 90 | get => (int?)this.Fields[(int)SignatureTupleFields.MaxDate]; |
91 | set => this.Set((int)SignatureTupleFields.MaxDate, value); | 91 | set => this.Set((int)SignatureTupleFields.MaxDate, value); |
92 | } | 92 | } |
93 | 93 | ||
diff --git a/src/WixToolset.Data/Tuples/TypeLibTuple.cs b/src/WixToolset.Data/Tuples/TypeLibTuple.cs index 14c69c1a..071fe593 100644 --- a/src/WixToolset.Data/Tuples/TypeLibTuple.cs +++ b/src/WixToolset.Data/Tuples/TypeLibTuple.cs | |||
@@ -67,9 +67,9 @@ namespace WixToolset.Data.Tuples | |||
67 | set => this.Set((int)TypeLibTupleFields.ComponentRef, value); | 67 | set => this.Set((int)TypeLibTupleFields.ComponentRef, value); |
68 | } | 68 | } |
69 | 69 | ||
70 | public int Version | 70 | public int? Version |
71 | { | 71 | { |
72 | get => (int)this.Fields[(int)TypeLibTupleFields.Version]; | 72 | get => (int?)this.Fields[(int)TypeLibTupleFields.Version]; |
73 | set => this.Set((int)TypeLibTupleFields.Version, value); | 73 | set => this.Set((int)TypeLibTupleFields.Version, value); |
74 | } | 74 | } |
75 | 75 | ||
@@ -91,9 +91,9 @@ namespace WixToolset.Data.Tuples | |||
91 | set => this.Set((int)TypeLibTupleFields.FeatureRef, value); | 91 | set => this.Set((int)TypeLibTupleFields.FeatureRef, value); |
92 | } | 92 | } |
93 | 93 | ||
94 | public int Cost | 94 | public int? Cost |
95 | { | 95 | { |
96 | get => (int)this.Fields[(int)TypeLibTupleFields.Cost]; | 96 | get => (int?)this.Fields[(int)TypeLibTupleFields.Cost]; |
97 | set => this.Set((int)TypeLibTupleFields.Cost, value); | 97 | set => this.Set((int)TypeLibTupleFields.Cost, value); |
98 | } | 98 | } |
99 | } | 99 | } |
diff --git a/src/WixToolset.Data/Tuples/UpgradedFilesOptionalDataTuple.cs b/src/WixToolset.Data/Tuples/UpgradedFilesOptionalDataTuple.cs index 72dac43a..1b4769b3 100644 --- a/src/WixToolset.Data/Tuples/UpgradedFilesOptionalDataTuple.cs +++ b/src/WixToolset.Data/Tuples/UpgradedFilesOptionalDataTuple.cs | |||
@@ -61,15 +61,15 @@ namespace WixToolset.Data.Tuples | |||
61 | set => this.Set((int)UpgradedFilesOptionalDataTupleFields.SymbolPaths, value); | 61 | set => this.Set((int)UpgradedFilesOptionalDataTupleFields.SymbolPaths, value); |
62 | } | 62 | } |
63 | 63 | ||
64 | public bool AllowIgnoreOnPatchError | 64 | public bool? AllowIgnoreOnPatchError |
65 | { | 65 | { |
66 | get => (bool)this.Fields[(int)UpgradedFilesOptionalDataTupleFields.AllowIgnoreOnPatchError]; | 66 | get => (bool?)this.Fields[(int)UpgradedFilesOptionalDataTupleFields.AllowIgnoreOnPatchError]; |
67 | set => this.Set((int)UpgradedFilesOptionalDataTupleFields.AllowIgnoreOnPatchError, value); | 67 | set => this.Set((int)UpgradedFilesOptionalDataTupleFields.AllowIgnoreOnPatchError, value); |
68 | } | 68 | } |
69 | 69 | ||
70 | public bool IncludeWholeFile | 70 | public bool? IncludeWholeFile |
71 | { | 71 | { |
72 | get => (bool)this.Fields[(int)UpgradedFilesOptionalDataTupleFields.IncludeWholeFile]; | 72 | get => (bool?)this.Fields[(int)UpgradedFilesOptionalDataTupleFields.IncludeWholeFile]; |
73 | set => this.Set((int)UpgradedFilesOptionalDataTupleFields.IncludeWholeFile, value); | 73 | set => this.Set((int)UpgradedFilesOptionalDataTupleFields.IncludeWholeFile, value); |
74 | } | 74 | } |
75 | } | 75 | } |
diff --git a/src/WixToolset.Data/Tuples/VerbTuple.cs b/src/WixToolset.Data/Tuples/VerbTuple.cs index 77df01e4..7a257a3e 100644 --- a/src/WixToolset.Data/Tuples/VerbTuple.cs +++ b/src/WixToolset.Data/Tuples/VerbTuple.cs | |||
@@ -55,9 +55,9 @@ namespace WixToolset.Data.Tuples | |||
55 | set => this.Set((int)VerbTupleFields.Verb, value); | 55 | set => this.Set((int)VerbTupleFields.Verb, value); |
56 | } | 56 | } |
57 | 57 | ||
58 | public int Sequence | 58 | public int? Sequence |
59 | { | 59 | { |
60 | get => (int)this.Fields[(int)VerbTupleFields.Sequence]; | 60 | get => (int?)this.Fields[(int)VerbTupleFields.Sequence]; |
61 | set => this.Set((int)VerbTupleFields.Sequence, value); | 61 | set => this.Set((int)VerbTupleFields.Sequence, value); |
62 | } | 62 | } |
63 | 63 | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleContainerTuple.cs b/src/WixToolset.Data/Tuples/WixBundleContainerTuple.cs index ed12a804..a0f64611 100644 --- a/src/WixToolset.Data/Tuples/WixBundleContainerTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleContainerTuple.cs | |||
@@ -76,9 +76,9 @@ namespace WixToolset.Data.Tuples | |||
76 | set => this.Set((int)WixBundleContainerTupleFields.DownloadUrl, value); | 76 | set => this.Set((int)WixBundleContainerTupleFields.DownloadUrl, value); |
77 | } | 77 | } |
78 | 78 | ||
79 | public long Size | 79 | public long? Size |
80 | { | 80 | { |
81 | get => (long)this.Fields[(int)WixBundleContainerTupleFields.Size]; | 81 | get => (long?)this.Fields[(int)WixBundleContainerTupleFields.Size]; |
82 | set => this.Set((int)WixBundleContainerTupleFields.Size, value); | 82 | set => this.Set((int)WixBundleContainerTupleFields.Size, value); |
83 | } | 83 | } |
84 | 84 | ||
@@ -88,9 +88,9 @@ namespace WixToolset.Data.Tuples | |||
88 | set => this.Set((int)WixBundleContainerTupleFields.Hash, value); | 88 | set => this.Set((int)WixBundleContainerTupleFields.Hash, value); |
89 | } | 89 | } |
90 | 90 | ||
91 | public int AttachedContainerIndex | 91 | public int? AttachedContainerIndex |
92 | { | 92 | { |
93 | get => (int)this.Fields[(int)WixBundleContainerTupleFields.AttachedContainerIndex]; | 93 | get => (int?)this.Fields[(int)WixBundleContainerTupleFields.AttachedContainerIndex]; |
94 | set => this.Set((int)WixBundleContainerTupleFields.AttachedContainerIndex, value); | 94 | set => this.Set((int)WixBundleContainerTupleFields.AttachedContainerIndex, value); |
95 | } | 95 | } |
96 | 96 | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs index d61e12d0..03c7879d 100644 --- a/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs | |||
@@ -171,9 +171,9 @@ namespace WixToolset.Data.Tuples | |||
171 | set => this.Set((int)WixBundlePackageTupleFields.Version, value); | 171 | set => this.Set((int)WixBundlePackageTupleFields.Version, value); |
172 | } | 172 | } |
173 | 173 | ||
174 | public int Language | 174 | public int? Language |
175 | { | 175 | { |
176 | get => (int)this.Fields[(int)WixBundlePackageTupleFields.Language]; | 176 | get => (int?)this.Fields[(int)WixBundlePackageTupleFields.Language]; |
177 | set => this.Set((int)WixBundlePackageTupleFields.Language, value); | 177 | set => this.Set((int)WixBundlePackageTupleFields.Language, value); |
178 | } | 178 | } |
179 | 179 | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundlePayloadTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePayloadTuple.cs index 049ac3b5..e0ef6fe1 100644 --- a/src/WixToolset.Data/Tuples/WixBundlePayloadTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundlePayloadTuple.cs | |||
@@ -125,9 +125,9 @@ namespace WixToolset.Data.Tuples | |||
125 | set => this.Set((int)WixBundlePayloadTupleFields.EnableSignatureValidation, value); | 125 | set => this.Set((int)WixBundlePayloadTupleFields.EnableSignatureValidation, value); |
126 | } | 126 | } |
127 | 127 | ||
128 | public int FileSize | 128 | public int? FileSize |
129 | { | 129 | { |
130 | get => (int)this.Fields[(int)WixBundlePayloadTupleFields.FileSize]; | 130 | get => (int?)this.Fields[(int)WixBundlePayloadTupleFields.FileSize]; |
131 | set => this.Set((int)WixBundlePayloadTupleFields.FileSize, value); | 131 | set => this.Set((int)WixBundlePayloadTupleFields.FileSize, value); |
132 | } | 132 | } |
133 | 133 | ||
@@ -191,10 +191,10 @@ namespace WixToolset.Data.Tuples | |||
191 | set => this.Set((int)WixBundlePayloadTupleFields.LayoutOnly, value); | 191 | set => this.Set((int)WixBundlePayloadTupleFields.LayoutOnly, value); |
192 | } | 192 | } |
193 | 193 | ||
194 | public PackagingType Packaging | 194 | public PackagingType? Packaging |
195 | { | 195 | { |
196 | get => (PackagingType)this.Fields[(int)WixBundlePayloadTupleFields.Packaging].AsNumber(); | 196 | get => (PackagingType?)this.Fields[(int)WixBundlePayloadTupleFields.Packaging].AsNumber(); |
197 | set => this.Set((int)WixBundlePayloadTupleFields.Packaging, (int)value); | 197 | set => this.Set((int)WixBundlePayloadTupleFields.Packaging, (int?)value); |
198 | } | 198 | } |
199 | 199 | ||
200 | public string ParentPackagePayloadRef | 200 | public string ParentPackagePayloadRef |
diff --git a/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs b/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs index 4c0cedf3..033aca21 100644 --- a/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs +++ b/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs | |||
@@ -86,27 +86,27 @@ namespace WixToolset.Data.Tuples | |||
86 | set => this.Set((int)WixFileSearchTupleFields.MaxVersion, value); | 86 | set => this.Set((int)WixFileSearchTupleFields.MaxVersion, value); |
87 | } | 87 | } |
88 | 88 | ||
89 | public int MinSize | 89 | public int? MinSize |
90 | { | 90 | { |
91 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MinSize]; | 91 | get => (int?)this.Fields[(int)WixFileSearchTupleFields.MinSize]; |
92 | set => this.Set((int)WixFileSearchTupleFields.MinSize, value); | 92 | set => this.Set((int)WixFileSearchTupleFields.MinSize, value); |
93 | } | 93 | } |
94 | 94 | ||
95 | public int MaxSize | 95 | public int? MaxSize |
96 | { | 96 | { |
97 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MaxSize]; | 97 | get => (int?)this.Fields[(int)WixFileSearchTupleFields.MaxSize]; |
98 | set => this.Set((int)WixFileSearchTupleFields.MaxSize, value); | 98 | set => this.Set((int)WixFileSearchTupleFields.MaxSize, value); |
99 | } | 99 | } |
100 | 100 | ||
101 | public int MinDate | 101 | public int? MinDate |
102 | { | 102 | { |
103 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MinDate]; | 103 | get => (int?)this.Fields[(int)WixFileSearchTupleFields.MinDate]; |
104 | set => this.Set((int)WixFileSearchTupleFields.MinDate, value); | 104 | set => this.Set((int)WixFileSearchTupleFields.MinDate, value); |
105 | } | 105 | } |
106 | 106 | ||
107 | public int MaxDate | 107 | public int? MaxDate |
108 | { | 108 | { |
109 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MaxDate]; | 109 | get => (int?)this.Fields[(int)WixFileSearchTupleFields.MaxDate]; |
110 | set => this.Set((int)WixFileSearchTupleFields.MaxDate, value); | 110 | set => this.Set((int)WixFileSearchTupleFields.MaxDate, value); |
111 | } | 111 | } |
112 | 112 | ||
diff --git a/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs b/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs index 35c99493..6e6fb2ae 100644 --- a/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs +++ b/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs | |||
@@ -45,15 +45,15 @@ namespace WixToolset.Data.Tuples | |||
45 | set => this.Set((int)WixPatchIdTupleFields.ClientPatchId, value); | 45 | set => this.Set((int)WixPatchIdTupleFields.ClientPatchId, value); |
46 | } | 46 | } |
47 | 47 | ||
48 | public bool OptimizePatchSizeForLargeFiles | 48 | public bool? OptimizePatchSizeForLargeFiles |
49 | { | 49 | { |
50 | get => (bool)this.Fields[(int)WixPatchIdTupleFields.OptimizePatchSizeForLargeFiles]; | 50 | get => (bool?)this.Fields[(int)WixPatchIdTupleFields.OptimizePatchSizeForLargeFiles]; |
51 | set => this.Set((int)WixPatchIdTupleFields.OptimizePatchSizeForLargeFiles, value); | 51 | set => this.Set((int)WixPatchIdTupleFields.OptimizePatchSizeForLargeFiles, value); |
52 | } | 52 | } |
53 | 53 | ||
54 | public int ApiPatchingSymbolFlags | 54 | public int? ApiPatchingSymbolFlags |
55 | { | 55 | { |
56 | get => (int)this.Fields[(int)WixPatchIdTupleFields.ApiPatchingSymbolFlags]; | 56 | get => (int?)this.Fields[(int)WixPatchIdTupleFields.ApiPatchingSymbolFlags]; |
57 | set => this.Set((int)WixPatchIdTupleFields.ApiPatchingSymbolFlags, value); | 57 | set => this.Set((int)WixPatchIdTupleFields.ApiPatchingSymbolFlags, value); |
58 | } | 58 | } |
59 | } | 59 | } |
diff --git a/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs b/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs index be59b844..ea1ecbbd 100644 --- a/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs +++ b/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs | |||
@@ -1663,7 +1663,7 @@ namespace WixToolset.Data.WindowsInstaller | |||
1663 | new ColumnDefinition("Sequence", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown), | 1663 | new ColumnDefinition("Sequence", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown), |
1664 | new ColumnDefinition("Before", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown), | 1664 | new ColumnDefinition("Before", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown), |
1665 | new ColumnDefinition("After", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown), | 1665 | new ColumnDefinition("After", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown), |
1666 | new ColumnDefinition("Overridable", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown), | 1666 | new ColumnDefinition("Overridable", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown), |
1667 | }, | 1667 | }, |
1668 | unreal: true, | 1668 | unreal: true, |
1669 | tupleIdIsPrimaryKey: false | 1669 | tupleIdIsPrimaryKey: false |