Aiursoft.DbTools.Sqlite 8.0.3

DBTools

MIT licensed Pipeline stat Test Coverage NuGet version (Aiursoft.CSTools) ManHours

DbTools are Aiursoft's common database tools. It contains a lot of useful database tools for developers.

Installation

To install Aiursoft.DbTools to your project from nuget.org:

dotnet add package Aiursoft.DbTools

Usage

Easier to register DbContext:

SQLite

var services = new ServiceCollection();
services.AddAiurSqliteWithCache<MyDbContext>("Data Source=app.db");

var built = services.BuildServiceProvider();
var context = built.GetRequiredService<MyDbContext>();

SQL Server

var services = new ServiceCollection();
services.AddAiurSqlServerWithCache<MyDbContext>("Server=(localdb)\\mssqllocaldb;Database=DebugTrusted_Connection=True;MultipleActiveResultSets=true");

var built = services.BuildServiceProvider();
var context = built.GetRequiredService<MyDbContext>();

Easier to update database:

var hostBuilder = Host.CreateDefaultBuilder();
hostBuilder.ConfigureServices(services => 
    services.AddAiurSqliteWithCache<MyDbContext>(@"DataSource=app.db;Cache=Shared")
);
var host = hostBuilder.Build();

// Now update:
await host.UpdateDbAsync<MyDbContext>(UpdateMode.CreateThenUse);

How to contribute

There are many ways to contribute to the project: logging bugs, submitting pull requests, reporting issues, and creating suggestions.

Even if you with push rights on the repository, you should create a personal fork and create feature branches there when you need them. This keeps the main repository clean and your workflow cruft out of sight.

We're also interested in your feedback on the future of this project. You can submit a suggestion or feature request through the issue tracker. To make this process more effective, we're asking that these include more information to help define them more clearly.

Showing the top 20 packages that depend on Aiursoft.DbTools.Sqlite.

Packages Downloads
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
40
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
37
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
36
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
35
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
34
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
29
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
26
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
25
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
23
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
22
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
18
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
15
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
13
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
12
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
11
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
9
Aiursoft.DbTools.Switchable
Nuget package of 'Switchable' provided by Aiursoft
7

Version Downloads Last updated
8.0.27 29 11/14/2024
8.0.26 16 11/13/2024
8.0.25 1 11/11/2024
8.0.24 36 11/09/2024
8.0.23 57 10/26/2024
8.0.22 41 10/14/2024
8.0.21 41 10/09/2024
8.0.20 85 09/29/2024
8.0.19 12 09/28/2024
8.0.18 75 09/22/2024
8.0.17 65 08/22/2024
8.0.16 15 08/18/2024
8.0.15 82 07/23/2024
8.0.14 67 07/10/2024
8.0.13 30 07/07/2024
8.0.12 62 06/29/2024
8.0.11 55 06/05/2024
8.0.10 38 05/28/2024
8.0.9 29 05/16/2024
8.0.8 53 05/04/2024
8.0.7 66 04/06/2024
8.0.6 57 03/31/2024
8.0.5 14 03/31/2024
8.0.4 32 03/26/2024
8.0.3 4 03/29/2024
8.0.2 7 04/06/2024
8.0.1 6 04/26/2024
8.0.0 28 04/26/2024
7.0.25 4 04/26/2024
7.0.24 3 04/26/2024
7.0.23 4 04/03/2024
7.0.22 4 03/31/2024
7.0.21 5 04/26/2024
7.0.20 5 04/06/2024
7.0.19 5 04/22/2024
7.0.18 5 04/26/2024
7.0.17 5 04/26/2024
7.0.16 4 04/19/2024
7.0.15 6 04/26/2024
7.0.14 3 04/26/2024
7.0.13 4 03/31/2024
7.0.12 4 03/28/2024
7.0.11 5 04/26/2024
7.0.10 4 04/26/2024
7.0.9 4 04/26/2024
7.0.8 4 04/26/2024
7.0.7 6 04/26/2024
7.0.6 6 04/26/2024
7.0.5 4 04/26/2024
7.0.4 4 04/02/2024
7.0.3 6 04/26/2024
7.0.2 3 04/26/2024
7.0.1 4 04/26/2024
7.0.0 5 04/26/2024
6.0.32 3 04/26/2024
6.0.31 5 04/26/2024
6.0.30 4 04/26/2024
6.0.29 3 06/20/2024