Skip to content

Commit b34cbab

Browse files
committed
Remove too much space again
1 parent 7d6392f commit b34cbab

10 files changed

Lines changed: 1 addition & 28 deletions

File tree

DirectSQL/DB2/DB2Database.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ namespace DirectSQL.DB2
99
{
1010
public class DB2Database : Database<DB2Connection, DB2Transaction, DB2Command, DB2DataReader, DB2Parameter>
1111
{
12-
1312
readonly private String _db2ConnectionString;
1413

1514
public DB2Database(String db2ConnectionString)
@@ -21,6 +20,5 @@ protected override DB2Connection CreateConnection()
2120
{
2221
return new DB2Connection ( _db2ConnectionString );
2322
}
24-
2523
}
26-
}
24+
}

DirectSQL/MySql/MySqlDatabase.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ namespace DirectSQL.MySql
99
{
1010
public class MySqlDatabase : Database<MySqlConnection, MySqlTransaction, MySqlCommand, MySqlDataReader, MySqlParameter>
1111
{
12-
1312
readonly private String _mySqlConnectionString;
1413

1514
public MySqlDatabase(String mySqlConnectionString)
@@ -21,7 +20,5 @@ protected override MySqlConnection CreateConnection()
2120
{
2221
return new MySqlConnection( _mySqlConnectionString );
2322
}
24-
25-
2623
}
2724
}

DirectSQL/Odbc/OdbcDatabase.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ namespace DirectSQL.Odbc
99
{
1010
public class OdbcDatabase : Database<OdbcConnection, OdbcTransaction, OdbcCommand, OdbcDataReader, OdbcParameter>
1111
{
12-
1312
readonly private String _odbcConnectionString;
1413

1514
public OdbcDatabase(String odbcConnectionString)
@@ -21,6 +20,5 @@ protected override OdbcConnection CreateConnection()
2120
{
2221
return new OdbcConnection ( _odbcConnectionString );
2322
}
24-
2523
}
2624
}

DirectSQL/SqlServer/SqlServerDatabase.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ namespace DirectSQL.SqlServer
99
{
1010
public class SqlServerDatabase : Database<SqlConnection, SqlTransaction, SqlCommand, SqlDataReader, SqlParameter>
1111
{
12-
1312
readonly private String _sqlServerConnectionString;
1413

1514
public SqlServerDatabase(String sqlServerConnectionString)
@@ -21,6 +20,5 @@ protected override SqlConnection CreateConnection()
2120
{
2221
return new SqlConnection ( _sqlServerConnectionString );
2322
}
24-
2523
}
2624
}

DirectSQL/npgsql/NpgsqlDatabase.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ namespace DirectSQL.Npgsql
99
{
1010
public class NpgsqlDatabase : Database<NpgsqlConnection, NpgsqlTransaction, NpgsqlCommand, NpgsqlDataReader, NpgsqlParameter>
1111
{
12-
1312
readonly private String _npgsqlConnectionString;
1413

1514
public NpgsqlDatabase(String npgsqlConnectionString)
@@ -21,6 +20,5 @@ protected override NpgsqlConnection CreateConnection()
2120
{
2221
return new NpgsqlConnection( _npgsqlConnectionString );
2322
}
24-
2523
}
2624
}

TestSqlLiteDatabase/ConnectionTest.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ public void TestConnectAsync()
3939
await Task.Delay(1); //Dummy code to resolve warning in build.
4040
});
4141
task2.Wait();
42-
4342
}
44-
4543
}
4644
}

TestSqlLiteDatabase/ExceptionTest.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ public void TestException()
2525
});
2626

2727
Assert.Fail();
28-
2928
}
3029
catch (DatabaseException ex)
3130
{
@@ -57,8 +56,6 @@ public void TestExceptionAsync()
5756
ERROR_MSG
5857
);
5958
}
60-
6159
}
62-
6360
}
6461
}

TestSqlLiteDatabase/FormattableStringSqlTest.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,10 @@ public void TestScalar ()
2929
{
3030
SqlLiteDatabase db = new SqlLiteDatabase("Data Source=:memory:");
3131
db.Process((conn, tran) => {
32-
3332
var testValue = "TESTVALUE";
3433
var result = SqlLiteDatabase.ExecuteFormattableScalar($"values({testValue})", conn, tran);
3534

3635
Assert.AreEqual(testValue, result);
37-
3836
});
3937
}
4038

@@ -43,7 +41,6 @@ public void TestQuery()
4341
{
4442
SqlLiteDatabase db = new SqlLiteDatabase("Data Source=:memory:");
4543
db.Process((conn, tran) => {
46-
4744
var testValue = "TESTVALUE";
4845
var testValue2 = "TESTVALUE2";
4946

@@ -52,18 +49,14 @@ public void TestQuery()
5249
conn,
5350
tran,
5451
(result) => {
55-
5652
Assert.AreEqual(result.Sql, "values(@0,@1)");
5753

5854
result.Next();
5955
Assert.AreEqual(testValue, result.ResultTuples[0].value);
6056
Assert.AreEqual(testValue2, result.ResultTuples[1].value);
61-
6257
}
6358
);
64-
6559
});
6660
}
67-
6861
}
6962
}

TestSqlLiteDatabase/QueryTest.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ public void TestQuery()
5656
var resultValues2 = result.ResultValues;
5757
Assert.AreEqual(resultValues2.TEST_VAL1, "xyz");
5858
Assert.AreEqual(resultValues2.TEST_VAL2, 456L);
59-
6059
}
6160
else
6261
{
@@ -108,7 +107,6 @@ public void TestQuery()
108107
transaction
109108
);
110109
Assert.AreEqual(abcdef2, "abcdef");
111-
112110
});
113111
}
114112

@@ -124,7 +122,6 @@ private static void CreateTableForTest(IDbConnection connection)
124122
")";
125123

126124
command.ExecuteNonQuery();
127-
128125
}
129126
}
130127
}

TestSqlLiteDatabase/TransactionTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ private static void CreateTableForTest(IDbConnection connection)
103103
")";
104104

105105
command.ExecuteNonQuery();
106-
107106
}
108107
}
109108

0 commit comments

Comments
 (0)