Skip to content

Commit

Permalink
Optimized SQLite Platform Initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
RohitM-IN committed Apr 28, 2024
1 parent 2c794fd commit 9ffd15a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/Connection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public DataSet ExecuteQuery(string query, string tableName)
{
try
{
SQLitePCL.Batteries.Init();

using (SqliteConnection sqliteConnection = new(GetConnectionString()))
{
Expand Down
7 changes: 3 additions & 4 deletions src/DbSyncKit.SQLite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<Nullable>enable</Nullable>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<AssemblyVersion>1.5.0.0</AssemblyVersion>
<FileVersion>1.5.0.0</FileVersion>
<Version>1.5.0.0</Version>
<AssemblyVersion>1.5.1.0</AssemblyVersion>
<FileVersion>1.5.1.0</FileVersion>
<Version>1.5.1.0</Version>
<PackageProjectUrl>https://dbsynckit.rohit-mahajan.in/</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/RohitM-IN/DbSyncKit</RepositoryUrl>
Expand All @@ -17,7 +17,6 @@

<ItemGroup>
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="8.0.4" />
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="2.1.8" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 9ffd15a

Please sign in to comment.