Driver para acesso ao SQLite usando [MVFC.SQLCraft] e System.Data.SQLite.
dotnet add package MVFC.SQLCraft.SQLite- Conexão com SQLite
- Integração com SqlKata
- Suporte a .NET 9.0+
using MVFC.SQLCraft.SQLite;
SQLiteCraftDriver driver = new(connectionString);
driver.Execute("CREATE TABLE IF NOT EXISTS Persons (Id INTEGER PRIMARY KEY AUTOINCREMENT, Name TEXT NOT NULL);");
var insertQ = new Query("Persons")
.AsInsert(new
{
Name = "Alice"
});
var affected = driver.Execute(insertQ);MIT