diff options
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs index cc920ac2..3357db3e 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs | |||
| @@ -219,7 +219,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 219 | // Import each row containing a stream | 219 | // Import each row containing a stream |
| 220 | foreach (Row row in table.Rows) | 220 | foreach (Row row in table.Rows) |
| 221 | { | 221 | { |
| 222 | using (Record record = new Record(table.Definition.Columns.Count)) | 222 | using (Record record = new Record(table.Definition.Columns.Length)) |
| 223 | { | 223 | { |
| 224 | StringBuilder streamName = new StringBuilder(); | 224 | StringBuilder streamName = new StringBuilder(); |
| 225 | bool needStream = false; | 225 | bool needStream = false; |
| @@ -230,7 +230,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 230 | streamName.Append(table.Name); | 230 | streamName.Append(table.Name); |
| 231 | } | 231 | } |
| 232 | 232 | ||
| 233 | for (int i = 0; i < table.Definition.Columns.Count; i++) | 233 | for (int i = 0; i < table.Definition.Columns.Length; i++) |
| 234 | { | 234 | { |
| 235 | ColumnDefinition columnDefinition = table.Definition.Columns[i]; | 235 | ColumnDefinition columnDefinition = table.Definition.Columns[i]; |
| 236 | 236 | ||
