Skip to content

Commit 9ffd15a

Browse files
committed
Optimized SQLite Platform Initialization
1 parent 2c794fd commit 9ffd15a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/Connection.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ public DataSet ExecuteQuery(string query, string tableName)
6060
{
6161
try
6262
{
63-
SQLitePCL.Batteries.Init();
6463

6564
using (SqliteConnection sqliteConnection = new(GetConnectionString()))
6665
{

src/DbSyncKit.SQLite.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
<Nullable>enable</Nullable>
77
<GenerateDocumentationFile>True</GenerateDocumentationFile>
88
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
9-
<AssemblyVersion>1.5.0.0</AssemblyVersion>
10-
<FileVersion>1.5.0.0</FileVersion>
11-
<Version>1.5.0.0</Version>
9+
<AssemblyVersion>1.5.1.0</AssemblyVersion>
10+
<FileVersion>1.5.1.0</FileVersion>
11+
<Version>1.5.1.0</Version>
1212
<PackageProjectUrl>https://dbsynckit.rohit-mahajan.in/</PackageProjectUrl>
1313
<PackageReadmeFile>README.md</PackageReadmeFile>
1414
<RepositoryUrl>https://github.com/RohitM-IN/DbSyncKit</RepositoryUrl>
@@ -17,7 +17,6 @@
1717

1818
<ItemGroup>
1919
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="8.0.4" />
20-
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="2.1.8" />
2120
</ItemGroup>
2221

2322
<ItemGroup>

0 commit comments

Comments
 (0)