Remove .NET Framework 4.6.2/4.7.2 (#24)

* Remove < .NET 4.8, general cleanup

* Abstract

* Tango

* Banner

* Scan no more

* Common

* Application

* Access

* Filter-feeder

* Graffiti

* Paint-over

* Law and Order

* XOR-o

* Unused staircase

* Maybe

* Maybe not

* Delete this

* The word is "no"

* Emit

* Improper

* Aye aye

* Fence

* Barrier

* Monkey

* Pail

* Lines
This commit is contained in:
Matt Nadareski
2020-07-15 09:41:59 -07:00
committed by GitHub
parent 1a718a3915
commit 4e406604c2
82 changed files with 8975 additions and 11172 deletions

View File

@@ -3,7 +3,7 @@ using System.IO;
using System.Collections.Generic;
using SabreTools.Library.Data;
using Mono.Data.Sqlite;
using Microsoft.Data.Sqlite;
namespace SabreTools.Library.Tools
{
@@ -20,8 +20,6 @@ namespace SabreTools.Library.Tools
/// <param name="type">Name of the source skipper file</param>
public static void AddHeaderToDatabase(string header, string SHA1, string source)
{
bool exists = false;
// Ensure the database exists
EnsureDatabase(Constants.HeadererDbSchema, Constants.HeadererFileName, Constants.HeadererConnectionString);
@@ -32,7 +30,7 @@ namespace SabreTools.Library.Tools
string query = $"SELECT * FROM data WHERE sha1='{SHA1}' AND header='{header}'";
SqliteCommand slc = new SqliteCommand(query, dbc);
SqliteDataReader sldr = slc.ExecuteReader();
exists = sldr.HasRows;
bool exists = sldr.HasRows;
if (!exists)
{
@@ -60,7 +58,7 @@ namespace SabreTools.Library.Tools
// Make sure the file exists
if (!File.Exists(db))
SqliteConnection.CreateFile(db);
File.Create(db);
// Open the database connection
SqliteConnection dbc = new SqliteConnection(connectionString);