From a23b04bb0613ccb1633bc8f4fd2cd724072beb40 Mon Sep 17 00:00:00 2001 From: tle Date: Tue, 14 Apr 2015 09:27:37 +0200 Subject: [PATCH] Allow to derive from SQLiteConnection and to create derived SQLiteCommand instances within SQLiteConnection.NewCommand. SQLiteConnection.NewCommand was public virtual but the constructure of SQLiteCommand was internal..... --- src/SQLite.Net/SQLiteCommand.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SQLite.Net/SQLiteCommand.cs b/src/SQLite.Net/SQLiteCommand.cs index 6259f14f4..492296888 100755 --- a/src/SQLite.Net/SQLiteCommand.cs +++ b/src/SQLite.Net/SQLiteCommand.cs @@ -36,10 +36,10 @@ public class SQLiteCommand [NotNull] private readonly List _bindings; - private readonly SQLiteConnection _conn; - private readonly ISQLitePlatform _sqlitePlatform; + protected readonly SQLiteConnection _conn; + protected readonly ISQLitePlatform _sqlitePlatform; - internal SQLiteCommand(ISQLitePlatform platformImplementation, SQLiteConnection conn) + internal protected SQLiteCommand(ISQLitePlatform platformImplementation, SQLiteConnection conn) { _sqlitePlatform = platformImplementation; _conn = conn;