Skip to content

Commit

Permalink
Merge pull request #1175 from csm101/isqliteconnection_disposable
Browse files Browse the repository at this point in the history
ISqliteConnection should be derived from IDisposable
  • Loading branch information
praeclarum authored Mar 27, 2024
2 parents e79dd0e + 47fdd34 commit 8d28c7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -265,3 +265,6 @@ paket-files/
# CodeRush
.cr/

# NCrunch
*.ncrunchsolution
*.ncrunchproject
3 changes: 1 addition & 2 deletions src/SQLite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public enum CreateFlags
FullTextSearch4 = 0x200
}

public interface ISQLiteConnection
public interface ISQLiteConnection : IDisposable
{
Sqlite3DatabaseHandle Handle { get; }
string DatabasePath { get; }
Expand Down Expand Up @@ -215,7 +215,6 @@ CreateTablesResult CreateTables<T, T2, T3, T4, T5> (CreateFlags createFlags = Cr
int Delete (object primaryKey, TableMapping map);
int DeleteAll<T> ();
int DeleteAll (TableMapping map);
void Dispose ();
int DropTable<T> ();
int DropTable (TableMapping map);
void EnableLoadExtension (bool enabled);
Expand Down

0 comments on commit 8d28c7c

Please sign in to comment.