Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.36 KB

File metadata and controls

46 lines (31 loc) · 1.36 KB

MVFC.SQLCraft.SQLite

🇺🇸 Read in English

CI codecov License Platform NuGet Version NuGet Downloads

Driver para acesso ao SQLite usando [MVFC.SQLCraft] e System.Data.SQLite.

Instalação

dotnet add package MVFC.SQLCraft.SQLite

Recursos

  • Conexão com SQLite
  • Integração com SqlKata
  • Suporte a .NET 9.0+

Exemplo

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);

Licença

MIT