Common.EFCore.SQLServer
1.4.2
dotnet add package Common.EFCore.SQLServer --version 1.4.2
NuGet\Install-Package Common.EFCore.SQLServer -Version 1.4.2
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.SQLServer" Version="1.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Common.EFCore.SQLServer" Version="1.4.2" />
<PackageReference Include="Common.EFCore.SQLServer" />
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.SQLServer --version 1.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Common.EFCore.SQLServer, 1.4.2"
#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.SQLServer@1.4.2
#: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.SQLServer&version=1.4.2
#tool nuget:?package=Common.EFCore.SQLServer&version=1.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Common.EFCore.SQLServer
操作例子
services.AddEntityFramework<AuthDbContext>(options =>
{
options.ConnectionString = connectionString;
options.Schema = "auth";
});
版本更新记录
- 1.4.2
- 支持老的creater、modifyer、modify_time
- 1.4.1
- 更新注入问题,释放IServiceProvider
- 1.4.0
- 调整目录
- 1.4.0-beta3
- 支持AddDbContextFactory
- IBaseRepository支持指定DbContext
- 1.4.0-beta2
- 移除针对netstandard2.1版本的支持
- 1.4.0-beta1
- 支持.Net9
- 1.3.0
- 增加PostgreRepository继承自BaseRepository和IBaseRepository
- 支持.net7、.net8
- 增加默认注入IUnitOfWork
- 1.0.0-beta3
- 升级包版本,支持.net5和.net6
- 1.1.0-beta2
- 增加非追踪
- 1.0.0-beta1
- 修改注入方法名称为AddEntityFramework
- 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.2)
- Microsoft.EntityFrameworkCore.SqlServer (>= 6.0.0)
- Microsoft.Extensions.Logging.Console (>= 6.0.0)
- Zack.EFCore.Batch.MSSQL_NET6 (>= 6.1.3)
-
net7.0
- Common.EFCore (>= 1.4.2)
- Microsoft.EntityFrameworkCore.SqlServer (>= 7.0.0)
- Microsoft.Extensions.Logging.Console (>= 7.0.0)
-
net8.0
- Common.EFCore (>= 1.4.2)
- Microsoft.EntityFrameworkCore.SqlServer (>= 8.0.0)
- Microsoft.Extensions.Logging.Console (>= 8.0.0)
-
net9.0
- Common.EFCore (>= 1.4.2)
- Microsoft.EntityFrameworkCore.SqlServer (>= 9.0.0)
- Microsoft.Extensions.Logging.Console (>= 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.2 | 182 | 8/26/2025 |
1.4.1 | 102 | 8/17/2025 |
1.4.0 | 140 | 8/13/2025 |
1.4.0-beta3 | 127 | 8/12/2025 |
1.4.0-beta2 | 493 | 7/23/2025 |
1.4.0-beta1 | 97 | 3/1/2025 |
1.3.0 | 148 | 8/11/2024 |
1.0.0-beta3 | 229 | 9/8/2022 |
1.0.0-beta2 | 242 | 6/19/2022 |
0.0.3 | 547 | 12/16/2021 |
0.0.2 | 490 | 11/18/2021 |
0.0.1 | 469 | 11/18/2021 |