Common.EFCore.MySQL
1.4.0-beta3
This is a prerelease version of Common.EFCore.MySQL.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Common.EFCore.MySQL --version 1.4.0-beta3
NuGet\Install-Package Common.EFCore.MySQL -Version 1.4.0-beta3
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="Common.EFCore.MySQL" Version="1.4.0-beta3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Common.EFCore.MySQL" Version="1.4.0-beta3" />
<PackageReference Include="Common.EFCore.MySQL" />
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 Common.EFCore.MySQL --version 1.4.0-beta3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Common.EFCore.MySQL, 1.4.0-beta3"
#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 Common.EFCore.MySQL@1.4.0-beta3
#: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=Common.EFCore.MySQL&version=1.4.0-beta3&prerelease
#tool nuget:?package=Common.EFCore.MySQL&version=1.4.0-beta3&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Common.EFCore.MySQL
操作例子
版本更新记录
1.4.0-beta3
- IBaseRepository支持指定DbContext
- 支持AddDbContextFactory
1.4.0-beta2
- 移除针对netstandard2.1版本的支持
1.4.0-beta1
- 支持.Net9
1.3.0
- 增加PostgreRepository继承自BaseRepository和IBaseRepository
- 增加默认注入IUnitOfWork
1.2.0
- 优化注入服务逻辑
1.1.0
- 升级支持.Net7
- 修复迁移的时候自定义配置未生效问题
1.1.0-beta5
- 增加非追踪
1.1.0-beta4
- 修改注入方法名称为AddEntityFramework
1.1.0-beta3
- 增加分页相关的类
- 去除common包的依赖
1.1.0-beta2
- 更新因为Common包升级导致的问题
1.1.0-beta1
- 修改版本支持.net5、.net6、.netstandard2.1
- 更新组件包版本
0.0.3
- 更新分页入参
0.0.2
- 封装简单方法
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Common.EFCore (>= 1.4.0-beta8)
- Microsoft.Extensions.Logging.Console (>= 6.0.0 && <= 6.0.10)
- Pomelo.EntityFrameworkCore.MySql (>= 6.0.0 && <= 6.0.10)
- Zack.EFCore.Batch.MySQL.Pomelo (>= 1.5.0 && <= 1.5.8)
-
net7.0
- Common.EFCore (>= 1.4.0-beta8)
- Microsoft.Extensions.Logging.Console (>= 7.0.0)
- Pomelo.EntityFrameworkCore.MySql (>= 7.0.0)
-
net8.0
- Common.EFCore (>= 1.4.0-beta8)
- Microsoft.Extensions.Logging.Console (>= 8.0.0)
- Pomelo.EntityFrameworkCore.MySql (>= 8.0.0)
-
net9.0
- Common.EFCore (>= 1.4.0-beta8)
- Microsoft.Extensions.Logging.Console (>= 9.0.0)
- Pomelo.EntityFrameworkCore.MySql (>= 9.0.0-preview.3.efcore.9.0.0)
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.5.0 | 95 | 2/9/2026 |
| 1.4.2 | 228 | 8/26/2025 |
| 1.4.1 | 127 | 8/17/2025 |
| 1.4.0 | 173 | 8/13/2025 |
| 1.4.0-beta3 | 170 | 8/12/2025 |
| 1.4.0-beta2 | 548 | 7/23/2025 |
| 1.4.0-beta1 | 105 | 3/1/2025 |
| 1.3.0 | 213 | 8/11/2024 |
| 1.2.0 | 300 | 5/14/2023 |
| 1.1.0 | 277 | 5/8/2023 |
| 1.0.0-beta5 | 369 | 6/19/2022 |
| 1.0.0-beta4 | 344 | 4/4/2022 |
| 1.0.0-beta3 | 375 | 1/15/2022 |
| 1.0.0-beta2 | 359 | 1/1/2022 |
| 1.0.0-beta1 | 367 | 12/23/2021 |
| 0.0.3 | 522 | 12/16/2021 |
| 0.0.2 | 535 | 9/20/2021 |
| 0.0.1 | 496 | 9/19/2021 |