Index: Application/Ringtoets/src/Application.Ringtoets.Storage/StorageSqliteCreator.cs =================================================================== diff -u -rbece78e24185a5156bc10f7ec7875e4510b6934c -r0fbb881c5c82f540f01772234b3c1faadfab07f9 --- Application/Ringtoets/src/Application.Ringtoets.Storage/StorageSqliteCreator.cs (.../StorageSqliteCreator.cs) (revision bece78e24185a5156bc10f7ec7875e4510b6934c) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/StorageSqliteCreator.cs (.../StorageSqliteCreator.cs) (revision 0fbb881c5c82f540f01772234b3c1faadfab07f9) @@ -52,18 +52,18 @@ if (File.Exists(databaseFilePath)) { - var message = string.Format("File '{0}' already exists.", databaseFilePath); + string message = string.Format("File '{0}' already exists.", databaseFilePath); throw new ArgumentException(message); } SQLiteConnection.CreateFile(databaseFilePath); - var connectionString = SqLiteConnectionStringBuilder.BuildSqLiteConnectionString(databaseFilePath, false); + string connectionString = SqLiteConnectionStringBuilder.BuildSqLiteConnectionString(databaseFilePath, false); try { using (var dbContext = new SQLiteConnection(connectionString, true)) { dbContext.Open(); - using (var command = dbContext.CreateCommand()) + using (SQLiteCommand command = dbContext.CreateCommand()) { command.CommandText = Resources.DatabaseStructure; command.ExecuteNonQuery(); @@ -72,7 +72,7 @@ } catch (SQLiteException exception) { - var message = new FileWriterErrorMessageBuilder(databaseFilePath).Build(Resources.Error_writing_structure_to_database); + string message = new FileWriterErrorMessageBuilder(databaseFilePath).Build(Resources.Error_writing_structure_to_database); throw new StorageException(message, new UpdateStorageException("", exception)); } finally