Devart.Data.SQLite.EFCore 6.4.190.9

Prefix Reserved
dotnet add package Devart.Data.SQLite.EFCore --version 6.4.190.9                
NuGet\Install-Package Devart.Data.SQLite.EFCore -Version 6.4.190.9                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Devart.Data.SQLite.EFCore" Version="6.4.190.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Devart.Data.SQLite.EFCore --version 6.4.190.9                
#r "nuget: Devart.Data.SQLite.EFCore, 6.4.190.9"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Devart.Data.SQLite.EFCore as a Cake Addin
#addin nuget:?package=Devart.Data.SQLite.EFCore&version=6.4.190.9

// Install Devart.Data.SQLite.EFCore as a Cake Tool
#tool nuget:?package=Devart.Data.SQLite.EFCore&version=6.4.190.9                

dotConnect for SQLite

dotConnect for SQLite is a high-performance ORM enabled data provider for SQLite that builds on ADO.NET technology.

The provider works with .NET Frameworks 2.0+, .NET Core 1.0+, .NET 5+. The product is compatible with ADO.NET Entity Framework (EF) Core.

It supports a wide range of SQLite-specific features, such as a variety of built-in encryption methods, including TripleDES, Blowfish, AES128, AES192, AES256, Cast128, and RC4. We provide integration with advanced encryption solutions such as SQLiteCrypt and SQLCipher, which typically require separate licenses but are included in our product at no extra cost. Additionally, it supports user-defined functions, CEROD, support for enabling SQLite extensions with connection string parameters, and others.

It also includes visual ORM designer for Entity Framework, Entity Framework Core, and LinqConnect ORM models.

More information at dotConnect for SQLite.

Compatibility


The following table show which version of this package to use with which version of frameworks.

Frameworks Version support
Entity Framework Core 9
.NET 9, 8

More information here

Installation


For projects, using Entity Framework Core 9 with SQLite, install this package. Execute the following command in the Package Manager Console:

Install-Package Devart.Data.SQLite.EFCore

For projects that require integration with Entity Framework 6.4 (EF6), use the Devart.Data.SQLite.EF6 package.

There also are Visual Studio extensions for earlier Visual Studio versions. If you use some other tool than Visual Studio, you can get NuGet packages with the nuget.exe console tool.

License

dotConnect for SQLite is available in several editions. See pricing options for ordering.

To activate your license, please download dotConnect for SQLite from our website. This installer generates the trial key files required for using this package on a trial basis.

Usage


This snippet directly configures a SQLite database connection for an Entity Framework Core DbContext using a connection string.

public class MyDbContext : DbContext {
 
  protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {

     optionsBuilder.UseSQLite(@"DataSource=database.db;FailIfMissing=False;");
  } 
}

Configuration Using SQLiteConnection Instance

using Devart.Data.SQLite;
...

public class MyDbContext : DbContext {
 
  protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) {

     var connection = new SQLiteConnection();
     connection.DataSource = @"database.db";
     connection.FailIfMissing = false;
     connection.Locking = LockingMode.Exclusive;
     connection.AutoVacuum = AutoVacuumMode.Full;
     connection.ConnectionTimeout = 20;
     optionsBuilder.UseSQLite(connection);
  } 
}
ASP.NET Core and Blazor

Configuration File Snippet (appsettings.json):

{
  "ConnectionStrings": {
    "DefaultConnection": "DataSource=database.db;FailIfMissing=False;"
   }
}

Dependency Injection of IConfiguration:

private readonly IConfiguration configuration;

public YourController(IConfiguration config) 
{
    configuration = config;
}

Retrieving a Connection String:

var connectionString = configuration.GetConnectionString("DefaultConnection");
var connection = new SQLiteConnection(connectionString);

For more information about SQLite connection read at our documentation.

Key Features

  • Built-in SQLite Encryption: Supports robust encryption for your SQLite databases such as TripleDES, Blowfish, AES128, AES192, AES256, Cast128, RC4.
  • Easy Connection: Allows your application to work with SQLite.
  • ASP.NET Core: Supports ASP.NET Core Identity.
  • Performance: Uses many SQLite-specific performance features & optimizations to ensure the highest performance.
  • Monitoring: Allows per-component tracing of database events with a free dbMonitor application.
  • Support and updates: Enjoy dedicated support team for prompt issue resolution and regular updates to keep your software running smoothly and securely.

Support Area

More Resources

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Devart.Data.SQLite.EFCore:

Package Downloads
Devart.Data.SQLite.EFCore.Design

dotConnect for SQLite is a high-performance ORM enabled data provider for SQLite that builds on ADO.NET technology. The provider works with .NET Frameworks 2.0+, .NET Core 1.0+, .NET 5+. It supports a wide range of SQLite-specific features, such as a variety of built-in encryption methods, including TripleDES, Blowfish, AES128, AES192, AES256, Cast128, and RC4. We provide integration with advanced encryption solutions such as SQLiteCrypt and SQLCipher, which typically require separate licenses but are included in our product at no extra cost. Additionally, it supports user-defined functions, CEROD, support for enabling SQLite extensions with connection string parameters, and others. More information at https://www.devart.com/dotconnect/sqlite/ License dotConnect for SQLite is available in several editions https://www.devart.com/dotconnect/sqlite/ordering.html To activate your license, please download dotConnect for SQLite from our website https://www.devart.com/dotconnect/sqlite/download.html This installer generates the trial key files required for using this package on a trial basis. Key Features * Built-in SQLite Encryption: Supports robust encryption for your SQLite databases such as TripleDES, Blowfish, AES128, AES192, AES256, Cast128, RC4. * Easy Connection: Allows your application to work with SQLite. * ASP.NET Core: Supports ASP.NET Core Identity. * Performance: Uses many SQLite-specific performance features and optimizations to ensure the highest performance. * Monitoring: Allows per-component tracing of database events with a free dbMonitor application. * Support and updates: Enjoy dedicated support team for prompt issue resolution and regular updates to keep your software running smoothly and securely.

Devart.Data.SQLite.EFCore.NetTopologySuite

dotConnect for SQLite is a high-performance ORM enabled data provider for SQLite that builds on ADO.NET technology. The provider works with .NET Frameworks 2.0+, .NET Core 1.0+, .NET 5+. It supports a wide range of SQLite-specific features, such as a variety of built-in encryption methods, including TripleDES, Blowfish, AES128, AES192, AES256, Cast128, and RC4. We provide integration with advanced encryption solutions such as SQLiteCrypt and SQLCipher, which typically require separate licenses but are included in our product at no extra cost. Additionally, it supports user-defined functions, CEROD, support for enabling SQLite extensions with connection string parameters, and others. More information at https://www.devart.com/dotconnect/sqlite/ License dotConnect for SQLite is available in several editions https://www.devart.com/dotconnect/sqlite/ordering.html To activate your license, please download dotConnect for SQLite from our website https://www.devart.com/dotconnect/sqlite/download.html This installer generates the trial key files required for using this package on a trial basis. Key Features * Built-in SQLite Encryption: Supports robust encryption for your SQLite databases such as TripleDES, Blowfish, AES128, AES192, AES256, Cast128, RC4. * Easy Connection: Allows your application to work with SQLite. * ASP.NET Core: Supports ASP.NET Core Identity. * Performance: Uses many SQLite-specific performance features and optimizations to ensure the highest performance. * Monitoring: Allows per-component tracing of database events with a free dbMonitor application. * Support and updates: Enjoy dedicated support team for prompt issue resolution and regular updates to keep your software running smoothly and securely.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.4.190.9 87 12/27/2024
6.4.190.8 77 12/27/2024
6.4.190.7 80 12/27/2024
6.4.190 136 12/27/2024
6.3.105.8 155 11/13/2024
6.3.105.7 98 11/13/2024
6.3.105 172 11/13/2024
6.3.104.8 105 11/8/2024
6.3.104.7 106 11/8/2024
6.3.104 136 11/8/2024
6.3.21.8 312 6/6/2024
6.3.21.7 126 6/6/2024
6.3.21 207 6/6/2024
6.3.20.8 130 5/30/2024
6.3.20.7 132 5/30/2024
6.3.20 225 5/30/2024
6.3.10.8 294 1/18/2024
6.3.10.7 136 1/18/2024
6.3.10 315 1/18/2024
6.2.0.7 328 11/17/2023
6.2.0 377 11/17/2023
6.1.151.7 446 6/7/2023
6.1.151 972 6/7/2023
6.1.134.7 505 3/4/2023
6.1.134 1,102 3/4/2023
6.0.0 2,367 7/1/2022
5.19.2066 2,347 1/26/2022
5.19.2042 1,133 12/21/2021
5.18.2014 1,497 11/9/2021
5.18.2001 1,226 10/21/2021
5.18.1985 1,240 9/28/2021
5.17.1944 1,518 7/30/2021
5.17.1930 1,281 7/8/2021
5.17.1905 1,262 6/3/2021
5.17.1866 2,392 4/9/2021
5.17.1860 1,250 4/1/2021
5.17.1836 1,336 2/18/2021
5.17.1812 1,305 1/14/2021
5.17.1792 1,344 12/17/2020
5.17.1782 1,325 12/3/2020
5.16.1759 1,457 10/29/2020
5.16.1739 1,296 10/1/2020
5.16.1730 1,410 9/17/2020
5.15.1696 1,290 7/30/2020
5.15.1686 1,200 7/16/2020
5.15.1666 1,280 6/17/2020
5.15.1612 3,235 4/2/2020
5.15.1583 3,895 2/20/2020
5.15.1541 4,728 12/23/2019
5.14.1519 3,178 11/21/2019
5.14.1504 1,843 10/31/2019
5.14.1499 1,684 10/24/2019
5.13.1470 2,973 9/13/2019
5.12.1437 3,131 7/25/2019
5.12.1422 1,945 7/4/2019
5.12.1402 1,608 6/6/2019
5.12.1366 1,534 4/12/2019
5.11.1357 1,459 3/28/2019
5.11.1328 1,620 2/14/2019
5.11.1307 1,535 1/10/2019
5.11.1278 1,626 11/29/2018
5.11.1253 1,566 10/25/2018
5.11.1229 3,803 9/20/2018
5.11.1216 1,697 8/31/2018
5.11.1202 1,663 8/10/2018
5.11.1190 1,712 7/19/2018
5.11.1172 1,743 6/22/2018
5.10.1152 1,731 5/25/2018
5.10.1134 1,939 4/27/2018
5.10.1115 2,058 3/30/2018
5.10.1086 1,730 2/15/2018
5.10.1061 1,731 1/11/2018
5.10.1031 1,651 11/23/2017
5.10.1013 1,706 10/30/2017
5.9.980 2,003 9/7/2017
5.9.958 1,977 8/4/2017
5.9.946 1,830 7/14/2017
5.9.931 1,764 6/23/2017
5.9.912 1,990 5/25/2017