Skip to content

Commit 140fc2e

Browse files
committed
Remove key constructor
This is to remove the number of overloads and because just setting the key is not usually enough for encrypted databases since you need to configure the encryption.
1 parent 3753c10 commit 140fc2e

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/SQLite.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -258,20 +258,6 @@ public SQLiteConnection (string databasePath, SQLiteOpenFlags openFlags, bool st
258258
{
259259
}
260260

261-
/// <summary>
262-
/// Constructs a new SQLiteConnection and opens a SQLite database specified by databasePath.
263-
/// </summary>
264-
/// <param name="databasePath">
265-
/// Specifies the path to the database file.
266-
/// </param>
267-
/// <param name="key">
268-
/// Specifies the encryption key to use on the database. Should be a string or a byte[].
269-
/// </param>
270-
public SQLiteConnection (string databasePath, object key)
271-
: this (new SQLiteConnectionString (databasePath, true, key: key))
272-
{
273-
}
274-
275261
/// <summary>
276262
/// Constructs a new SQLiteConnection and opens a SQLite database specified by databasePath.
277263
/// </summary>

0 commit comments

Comments
 (0)