Skip to content

Commit

Permalink
Make SQLiteCommands inheritable
Browse files Browse the repository at this point in the history
Fixes #718
  • Loading branch information
praeclarum committed Sep 10, 2018
1 parent 3cff559 commit 51c2876
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/SQLite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2600,7 +2600,7 @@ public partial class SQLiteCommand

public string CommandText { get; set; }

internal SQLiteCommand (SQLiteConnection conn)
public SQLiteCommand (SQLiteConnection conn)
{
_conn = conn;
_bindings = new List<Binding> ();
Expand Down Expand Up @@ -2658,8 +2658,6 @@ public List<T> ExecuteQuery<T> (TableMapping map)
/// <remarks>
/// This can be overridden in combination with the <see cref="SQLiteConnection.NewCommand"/>
/// method to hook into the life-cycle of objects.
///
/// Type safety is not possible because MonoTouch does not support virtual generic methods.
/// </remarks>
protected virtual void OnInstanceCreated (object obj)
{
Expand Down Expand Up @@ -2780,7 +2778,7 @@ void BindAll (Sqlite3Statement stmt)
}
}

internal static IntPtr NegativePointer = new IntPtr (-1);
static IntPtr NegativePointer = new IntPtr (-1);

const string DateTimeExactStoreFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fff";

Expand Down

0 comments on commit 51c2876

Please sign in to comment.