Acme.EFCore.Small 1.3.5.1

dotnet add package Acme.EFCore.Small --version 1.3.5.1
                    
NuGet\Install-Package Acme.EFCore.Small -Version 1.3.5.1
                    
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="Acme.EFCore.Small" Version="1.3.5.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Acme.EFCore.Small" Version="1.3.5.1" />
                    
Directory.Packages.props
<PackageReference Include="Acme.EFCore.Small" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Acme.EFCore.Small --version 1.3.5.1
                    
#r "nuget: Acme.EFCore.Small, 1.3.5.1"
                    
#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.
#:package Acme.EFCore.Small@1.3.5.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Acme.EFCore.Small&version=1.3.5.1
                    
Install as a Cake Addin
#tool nuget:?package=Acme.EFCore.Small&version=1.3.5.1
                    
Install as a Cake Tool

Acme.EFCore.Small

1、summary

Acme.EFCore.Small is a lightweight EFCore general-purpose library designed to interact with databases using Entity Framework Core (EFCore). It serves as the fundamental component for handling various database operations. Version: v1.3.5

2、 Beginner's Guide

1. Install Acme EFCore.Small

Create Project →Click on References →Right click →Manage Nuget Packages →Search Acme EFCore. Small selects version 1.2.7 and above Simply install the NET version.

2. Install the corresponding database package

  • SqlServer: Microsoft.EntityFrameworkCore.SqlServer
  • Sqlite: Microsoft.EntityFrameworkCore.Sqlite
  • Cosmos: Microsoft.EntityFrameworkCore.Cosmos
  • InMemoryDatabase: Microsoft.EntityFrameworkCore.InMemory
  • MySql:
    • Pomelo.EntityFrameworkCore.MySql
    • MySql.EntityFrameworkCore
  • PostgreSQL: Npgsql.EntityFrameworkCore.PostgreSQL
  • Oracle: Oracle.EntityFrameworkCore
  • Firebird: FirebirdSql.EntityFrameworkCore.Firebird
  • Dm: Microsoft.EntityFrameworkCore.Dm

4.Create VNet database context class

public class AppDbContext : DbContext
{
    /// <summary>
    /// Initialize database context
    /// </summary>
    /// <param name="options"></param>
    public AppDbContext(DbContextOptions<AppDbContext> options) :
       base(options)
    {
    }
}

5.Configure connection string

{
    "ConnectionStrings":{
        "DefaultConnection": "Persist Security Info=False;Data Source=.;Initial Catalog=Database Name;User ID=user;Password=password;Connect Timeout=120;Encrypt=False;"
    }
}

6.Dependency injection

6.1.Basic configuration
//Call database configuration information
services.AddDbContext<AppDbContext>(options => options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));
services.AddRepositorys();
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
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.3.5.1 77 9/2/2025
1.3.5 189 8/8/2025
1.3.4 189 8/8/2025
1.3.2 125 5/30/2025
1.3.1 152 5/7/2025
1.3.0 149 4/27/2025
1.3.0-beta 163 4/18/2025
1.2.9 167 3/13/2025
1.2.8.9 226 3/6/2025
1.2.8.5 119 2/22/2025
1.2.8.4 123 2/7/2025
1.2.8.3 243 12/25/2024
1.2.8.3-alpha 132 12/25/2024
1.2.8.2 155 12/20/2024
1.2.8.1 141 12/19/2024
1.2.8 158 11/13/2024
1.2.7.2 175 11/7/2024
1.2.7.1 166 10/11/2024
1.2.7.1-alpha 127 9/20/2024
1.2.7 154 10/11/2024
1.2.7-alpha 136 9/20/2024
1.2.6 166 9/14/2024
1.2.5.9 187 8/9/2024
1.2.5.8 186 8/9/2024
1.2.5.7 177 7/19/2024
1.2.5.6 165 6/3/2024
1.2.5.6-rc 145 5/30/2024
1.2.5.6-alpha 161 5/29/2024
1.2.5.5 153 6/3/2024
1.2.5.5-alpha 154 5/29/2024
1.2.5.4 175 5/29/2024
1.2.5.3 163 5/29/2024
1.2.5.2 175 5/11/2024
1.2.5.1 198 4/22/2024
1.2.5 182 4/22/2024
1.2.4.9 187 4/22/2024
1.2.4.8 169 4/19/2024
1.2.4.7 178 4/11/2024
1.2.4.6 181 4/10/2024
1.2.4.5 178 4/10/2024
1.2.4.4 185 4/9/2024
1.2.4.3 177 4/9/2024
1.2.4.2 176 4/8/2024
1.2.4.1 195 4/7/2024
1.2.3.9 184 4/7/2024
1.2.3.8 189 4/8/2024
1.2.3.7 170 4/9/2024
1.2.3.6 166 4/9/2024
1.2.3.5 190 4/8/2024
1.2.3.4 183 4/8/2024
1.2.3.3 183 4/8/2024
1.2.3.2 186 4/7/2024
1.2.3.1 185 4/7/2024
1.2.3 190 4/7/2024
1.2.2.9 183 4/7/2024
1.2.2.8 183 4/7/2024
1.2.2.7 180 4/7/2024
1.2.2.6 195 4/2/2024
1.2.2.5 186 4/2/2024
1.2.2.4 195 3/29/2024
1.2.2.3 185 3/29/2024
1.2.2.2 179 3/27/2024
1.2.2.1 198 3/27/2024
1.2.1 180 3/27/2024
1.2.0.9 196 3/26/2024
1.2.0.8 192 3/26/2024
1.2.0.7 183 3/26/2024
1.2.0.6 203 3/26/2024
1.2.0.5 189 3/26/2024
1.2.0.4 201 3/25/2024
1.2.0.3 187 3/25/2024
1.2.0.2 192 3/25/2024
1.2.0.1 186 3/20/2024
1.1.0.5 182 3/25/2024
1.1.0.1 205 3/20/2024
1.0.5 154 12/20/2024
1.0.4 151 12/19/2024
1.0.3.9 180 4/19/2024
1.0.3.8 175 4/19/2024
1.0.3.7 178 4/19/2024
1.0.3.6 181 4/19/2024
1.0.3.5 205 4/7/2024
1.0.3.4 196 4/7/2024
1.0.3.3 185 4/2/2024
1.0.3.2 195 4/2/2024
1.0.3.1 195 3/31/2024
1.0.0.1 195 3/20/2024

更新添加查询