Skip to content

Commit 7a9a20d

Browse files
committed
example updated
1 parent 855221d commit 7a9a20d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

examples/Stocks/Stocks.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ public class Database : SQLiteConnection
3838
{
3939
public Database (string path) : base(path)
4040
{
41+
//Crypt database
42+
Execute("PRAGMA key = 'snKJRLKOT4HD-QGmxBXaHTHWiZypllQvYHhbknmR';");
43+
4144
CreateTable<Stock> ();
4245
CreateTable<Valuation> ();
4346
}

examples/Stocks/Stocks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
</ProjectReference>
8080
</ItemGroup>
8181
<ItemGroup>
82-
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3">
82+
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlcipher">
8383
<Version>2.0.3</Version>
8484
</PackageReference>
8585
</ItemGroup>

0 commit comments

Comments
 (0)