Acme.EFCore 3.3.8-beta

This is a prerelease version of Acme.EFCore.
dotnet add package Acme.EFCore --version 3.3.8-beta
                    
NuGet\Install-Package Acme.EFCore -Version 3.3.8-beta
                    
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" Version="3.3.8-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Acme.EFCore" Version="3.3.8-beta" />
                    
Directory.Packages.props
<PackageReference Include="Acme.EFCore" />
                    
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 --version 3.3.8-beta
                    
#r "nuget: Acme.EFCore, 3.3.8-beta"
                    
#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@3.3.8-beta
                    
#: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&version=3.3.8-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Acme.EFCore&version=3.3.8-beta&prerelease
                    
Install as a Cake Tool

Acme.EFCore

1、summary

Acme.EFCore 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: v3.3.8-beta

2、 Beginner's Guide

2.1. Install Acme EFCore

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

2.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

2.3.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)
    {
    }
}

2.3.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;"
    }
}

2.5 Dependency injection

2.6.1.Basic configuration
//Call database configuration information
services.AddDbContext<AppDbContext1>(options => options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));
Product Compatible and additional computed target framework versions.
.NET 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. 
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
3.3.8-beta 148 5/20/2025
3.3.7 167 5/20/2025
3.3.6 133 5/9/2025
3.3.5 156 3/27/2025
3.3.4 128 2/22/2025
3.3.2 127 2/7/2025
3.3.1 131 1/21/2025
3.3.0 127 12/23/2024
3.2.0 135 12/18/2024
3.1.0 131 12/16/2024
3.0.9 136 12/5/2024
3.0.8 175 11/13/2024
3.0.0.3-alpha 138 11/12/2024
3.0.0.2-alpha 139 11/11/2024
3.0.0.1-alpha 134 11/11/2024
2.1.0.2 275 3/19/2024
2.1.0.1 211 3/15/2024
2.0.2.5 230 2/29/2024
2.0.2.4 228 2/26/2024
2.0.2.3 240 2/7/2024
2.0.2.2 230 2/7/2024
2.0.2.1 227 2/1/2024
2.0.1.5 214 1/31/2024
2.0.1.4 214 1/31/2024
2.0.1.3 214 1/31/2024
2.0.1.2 214 1/31/2024
2.0.1 212 1/31/2024
1.1.5 213 1/31/2024
1.1.4.2 225 1/31/2024
1.1.4 210 1/31/2024
1.1.3 217 1/31/2024
1.1.2 300 12/19/2023
1.1.1 286 12/5/2023

A brand new version of Acme EFCore