AmpScm.RepoDb.SQLite.System 1.14.0-alphaSD02

This is a prerelease version of AmpScm.RepoDb.SQLite.System.
dotnet add package AmpScm.RepoDb.SQLite.System --version 1.14.0-alphaSD02                
NuGet\Install-Package AmpScm.RepoDb.SQLite.System -Version 1.14.0-alphaSD02                
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="AmpScm.RepoDb.SQLite.System" Version="1.14.0-alphaSD02" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AmpScm.RepoDb.SQLite.System --version 1.14.0-alphaSD02                
#r "nuget: AmpScm.RepoDb.SQLite.System, 1.14.0-alphaSD02"                
#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 AmpScm.RepoDb.SQLite.System as a Cake Addin
#addin nuget:?package=AmpScm.RepoDb.SQLite.System&version=1.14.0-alphaSD02&prerelease

// Install AmpScm.RepoDb.SQLite.System as a Cake Tool
#tool nuget:?package=AmpScm.RepoDb.SQLite.System&version=1.14.0-alphaSD02&prerelease                

SqLiteSystemBuild SqLiteSystemHome SqLiteSystemVersion SqLiteSystemReleases SqLiteSystemUnitTests SqLiteSystemIntegrationTests

RepoDb.SQLite.System - a hybrid .NET ORM library for SQLite (using System.Data.SQLite.Core).

RepoDB is an open-source .NET ORM library that bridges the gaps of micro-ORMs and full-ORMs. It helps you simplify the switch-over of when to use the BASIC and ADVANCE operations during the development.

Important Pages

  • GitHub Home Page - to learn more about the core library.
  • Website - docs, features, classes, references, releases and blogs.

Community Engagements

Dependencies

License

Apache-2.0 - Copyright © 2019 - Michael Camara Pendon


Installation

At the Package Manager Console, write the command below.

> Install-Package RepoDb.SQLite.System

Or, visit our installation page for more information.

Get Started

First, the bootstrapper must be initialized.

RepoDb.SQLiteBootstrap.Initialize();

Note: The call must be done once.

After the bootstrap initialization, any library operation can then be called.

Or, visit the official get-started page for SQLite.

Query

using (var connection = new SQLiteConnection(ConnectionString))
{
	var customer = connection.Query<Customer>(c => c.Id == 10045);
}

Insert

var customer = new Customer
{
	FirstName = "John",
	LastName = "Doe",
	IsActive = true
};
using (var connection = new SQLiteConnection(ConnectionString))
{
	var id = connection.Insert<Customer>(customer);
}

Update

using (var connection = new SQLiteConnection(ConnectionString))
{
	var customer = connection.Query<Customer>(10045);
	customer.FirstName = "John";
	customer.LastUpdatedUtc = DateTime.UtcNow;
	var affectedRows = connection.Update<Customer>(customer);
}

Delete

using (var connection = new SQLiteConnection(ConnectionString))
{
	var customer = connection.Query<Customer>(10045);
	var deletedCount = connection.Delete<Customer>(customer);
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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.  net9.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.14.0-alphaSD02 5 11/22/2024
1.14.0-alphaSD01 3 11/22/2024