Acme.EFCore.Small 1.3.6.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Acme.EFCore.Small --version 1.3.6.2
                    
NuGet\Install-Package Acme.EFCore.Small -Version 1.3.6.2
                    
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.6.2" />
                    
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.6.2" />
                    
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.6.2
                    
#r "nuget: Acme.EFCore.Small, 1.3.6.2"
                    
#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.6.2
                    
#: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.6.2
                    
Install as a Cake Addin
#tool nuget:?package=Acme.EFCore.Small&version=1.3.6.2
                    
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.6.2
  • PackageReleaseNotes:Add entity base class, aggregate root base class, and value object base class

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 is compatible.  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
2.0.0.5 84 8/28/2026
2.0.0.4 103 8/24/2026
2.0.0.4-alpha 96 7/16/2026
2.0.0.3 101 7/27/2026
2.0.0.3-alpha 107 5/24/2026
2.0.0.2 103 7/27/2026
2.0.0.2-alpha 112 4/21/2026
2.0.0.1 115 7/16/2026
2.0.0.1-alpha 131 3/26/2026
1.3.7.1 102 7/27/2026
1.3.7 126 5/24/2026
1.3.6.9 119 5/24/2026
1.3.6.8 121 4/21/2026
1.3.6.7 119 3/25/2026
1.3.6.6 132 3/16/2026
1.3.6.5 129 3/16/2026
1.3.6.4 139 2/26/2026
1.3.6.3 167 1/14/2026
1.3.6.2 302 12/19/2025
1.3.6.1 178 12/12/2025
Loading failed

Add entity base class, aggregate root base class, and value object base class