Common.EFCore.PostgresSql
1.4.0-beta1
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 2.1
This package targets .NET Standard 2.1. The package is compatible with this framework or higher.
This is a prerelease version of Common.EFCore.PostgresSql.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Common.EFCore.PostgresSql --version 1.4.0-beta1
NuGet\Install-Package Common.EFCore.PostgresSql -Version 1.4.0-beta1
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.4.0-beta1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Common.EFCore.PostgresSql" Version="1.4.0-beta1" />
<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.4.0-beta1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Common.EFCore.PostgresSql, 1.4.0-beta1"
#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.
#addin nuget:?package=Common.EFCore.PostgresSql&version=1.4.0-beta1&prerelease
#tool nuget:?package=Common.EFCore.PostgresSql&version=1.4.0-beta1&prerelease
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.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 | net5.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- Common.EFCore (>= 1.4.0-beta1)
- EFCore.NamingConventions (>= 5.0.0 && <= 5.0.2)
- Microsoft.Extensions.Logging.Console (>= 5.0.0 && <= 5.0.13)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 5.0.0 && <= 5.0.10)
- Zack.EFCore.Batch.Npgsql (>= 1.5.0 && <= 1.5.8)
-
net6.0
- Common.EFCore (>= 1.4.0-beta1)
- 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.4.0-beta1)
- EFCore.NamingConventions (>= 7.0.0)
- Microsoft.Extensions.Logging.Console (>= 7.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 7.0.0)
-
net8.0
- Common.EFCore (>= 1.4.0-beta1)
- EFCore.NamingConventions (>= 8.0.3)
- Microsoft.Extensions.Logging.Console (>= 8.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 8.0.0)
-
net9.0
- Common.EFCore (>= 1.4.0-beta1)
- EFCore.NamingConventions (>= 8.0.3)
- 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.4.0-beta2 | 116 | 3/1/2025 |
1.4.0-beta1 | 85 | 3/1/2025 |
1.3.0 | 144 | 8/11/2024 |
1.3.0-beta2 | 179 | 12/30/2023 |
1.3.0-beta1 | 119 | 8/22/2023 |
1.2.0 | 208 | 5/14/2023 |
1.2.0-beta2 | 260 | 11/18/2022 |
1.2.0-beta1 | 180 | 11/11/2022 |
1.0.0-beta4 | 207 | 6/19/2022 |
1.0.0-beta3 | 226 | 4/4/2022 |
1.0.0-beta2 | 226 | 3/17/2022 |
1.0.0-beta1 | 203 | 3/3/2022 |
0.0.3 | 413 | 12/16/2021 |
0.0.2 | 413 | 9/20/2021 |
0.0.1 | 397 | 9/13/2021 |