Aicrosoft.DataAccess.Abstractions 8.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aicrosoft.DataAccess.Abstractions --version 8.3.0                
NuGet\Install-Package Aicrosoft.DataAccess.Abstractions -Version 8.3.0                
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="Aicrosoft.DataAccess.Abstractions" Version="8.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aicrosoft.DataAccess.Abstractions --version 8.3.0                
#r "nuget: Aicrosoft.DataAccess.Abstractions, 8.3.0"                
#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 Aicrosoft.DataAccess.Abstractions as a Cake Addin
#addin nuget:?package=Aicrosoft.DataAccess.Abstractions&version=8.3.0

// Install Aicrosoft.DataAccess.Abstractions as a Cake Tool
#tool nuget:?package=Aicrosoft.DataAccess.Abstractions&version=8.3.0                

Aicrosoft.DataAccess

对Db操作的表的实例的抽象。

数据持久化的Domain的GenericRepository框架,可以由不同的ORM框架来实现它。

目前只支持单个Db

可以通过实现每个程序集一个Db的方式来支持多个Db

通过ServciesCollection的扩展方法AddEFCoreService来注册一个程序集的实现

services.AddEFCoreService<TDbContext>(options =>
        {
            var connStr = $"Data Source=Sqldb_{RandomDbName}_{number}.db";
            var dbConnString = options.GetFileDbConnString(connStr);
            options.UseSqlite(dbConnString);
        });

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Aicrosoft.DataAccess.Abstractions:

Package Downloads
Aicrosoft.DataAccess.EntityFrameworkCore

Package Description

Aicrosoft.DataAccess.AzureTable

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.5.0 106 10/12/2024
8.3.0 125 9/10/2024