Common.EFCore.PostgresSql
1.6.0
dotnet add package Common.EFCore.PostgresSql --version 1.6.0
NuGet\Install-Package Common.EFCore.PostgresSql -Version 1.6.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="Common.EFCore.PostgresSql" Version="1.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Common.EFCore.PostgresSql" Version="1.6.0" />
<PackageReference Include="Common.EFCore.PostgresSql" />
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.PostgresSql --version 1.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Common.EFCore.PostgresSql, 1.6.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.
#:package Common.EFCore.PostgresSql@1.6.0
#: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.PostgresSql&version=1.6.0
#tool nuget:?package=Common.EFCore.PostgresSql&version=1.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Common.EFCore.PostgresSQL
操作例子
services.AddEntityFramework<AuthDbContext>(options =>
{
options.ConnectionString = Configuration["DbConfig:Npgsql:ConnectionString"];
options.Schema = "auth";
});
版本更新记录
1.6.0
- 适配Common.EFCore修改
1.5.0
- 支持.Net10
1.4.3
- 支持老的creater、modifyer、modify_time
1.4.2
- 更新注入问题,释放IServiceProvider
1.4.1
- 修复目录引用问题
1.4.0
- 调整目录
1.4.0-beta5
- IBaseRepository支持指定DbContext
1.4.0-beta4
- 支持AddDbContextFactory
1.4.0-beta3
- 移除针对netstandard2.1版本的支持
1.4.0-beta2
- 修复包引用问题
1.4.0-beta1
- 支持.Net9
1.3.0
- 更新EFCore.NamingConventions包版本
- 增加默认注入IUnitOfWork
1.3.0-beta2
- 升级支持.Net8
1.3.0-beta1
- 增加PostgreRepository继承自BaseRepository和IBaseRepository
1.2.0
- 移除工作单元注入
1.2.0-beta2
- 新增设置时区的扩展方法
- 同步支持Common.EFCore设置时间方案
1.2.0-beta1
- 升级支持.net7
1.1.0-beta4
- 增加非追踪
1.1.0-beta3
- 修改注入方法名称为AddEntityFramework
1.0.0-beta2
- 解决不显示主键类型
1.0.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 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Common.EFCore (>= 1.6.0)
- EFCore.NamingConventions (>= 10.0.0-rc.2)
- Microsoft.Extensions.Logging.Console (>= 10.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 10.0.0)
-
net6.0
- Common.EFCore (>= 1.6.0)
- EFCore.NamingConventions (>= 6.0.0)
- Microsoft.Extensions.Logging.Console (>= 6.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 6.0.0)
- Zack.EFCore.Batch.Npgsql (>= 1.5.0)
-
net7.0
- Common.EFCore (>= 1.6.0)
- EFCore.NamingConventions (>= 7.0.0)
- Microsoft.Extensions.Logging.Console (>= 7.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 7.0.0)
-
net8.0
- Common.EFCore (>= 1.6.0)
- EFCore.NamingConventions (>= 8.0.3)
- Microsoft.Extensions.Logging.Console (>= 8.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 8.0.0)
-
net9.0
- Common.EFCore (>= 1.6.0)
- EFCore.NamingConventions (>= 9.0.0)
- Microsoft.Extensions.Logging.Console (>= 9.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 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.6.0 | 47 | 2/9/2026 |
| 1.5.0 | 353 | 11/30/2025 |
| 1.4.3 | 464 | 8/26/2025 |
| 1.4.2 | 218 | 8/17/2025 |
| 1.4.1 | 247 | 8/14/2025 |
| 1.4.0 | 242 | 8/13/2025 |
| 1.4.0-beta5 | 200 | 8/12/2025 |
| 1.4.0-beta4 | 616 | 7/23/2025 |
| 1.4.0-beta2 | 298 | 3/1/2025 |
| 1.4.0-beta1 | 147 | 3/1/2025 |
| 1.3.0 | 273 | 8/11/2024 |
| 1.3.0-beta2 | 232 | 12/30/2023 |
| 1.3.0-beta1 | 212 | 8/22/2023 |
| 1.2.0 | 329 | 5/14/2023 |
| 1.2.0-beta2 | 392 | 11/18/2022 |
| 1.2.0-beta1 | 314 | 11/11/2022 |
| 1.0.0-beta4 | 370 | 6/19/2022 |
| 1.0.0-beta3 | 361 | 4/4/2022 |
| 1.0.0-beta2 | 361 | 3/17/2022 |
| 1.0.0-beta1 | 343 | 3/3/2022 |
Loading failed