CBLibrary.Repository.Core
1.1.9
dotnet add package CBLibrary.Repository.Core --version 1.1.9
NuGet\Install-Package CBLibrary.Repository.Core -Version 1.1.9
<PackageReference Include="CBLibrary.Repository.Core" Version="1.1.9" />
paket add CBLibrary.Repository.Core --version 1.1.9
#r "nuget: CBLibrary.Repository.Core, 1.1.9"
// Install CBLibrary.Repository.Core as a Cake Addin #addin nuget:?package=CBLibrary.Repository.Core&version=1.1.9 // Install CBLibrary.Repository.Core as a Cake Tool #tool nuget:?package=CBLibrary.Repository.Core&version=1.1.9
CBLibrary.Repository.Core
Repository+UnitOfWork组件封装(.net core)
Release Notes
v1.0.0
Features
- Repository+UnitOfWork组件封装
CBLibrary.Repository.Application: 应用层服务基类
CBLibrary.Repository.Auditing: 审计接口
CBLibrary.Repository.BootStrapper: 启动加载器
CBLibrary.Repository.Dto: 应用层Dto基类
CBLibrary.Repository.Entity: 领域层Entity基类
CBLibrary.Repository.Repository: 仓储
CBLibrary.Repository.UnitOfWork: 工作单元
v1.0.1
Features
- 更新应用层常量 AppConstants
Usages
v1.1.0 - v1.1.1 - v1.1.2
Features
- 重构组件,添加应用层服务基类实现,添加缓存组件
CBLibrary.Repository.Application: 应用层服务基类
CBLibrary.Repository.Auditing: 审计接口
CBLibrary.Repository.BootStrapper: 启动加载器
CBLibrary.Repository.Dto: 应用层Dto基类
CBLibrary.Repository.Entity: 领域层Entity基类
CBLibrary.Repository.Repository: 仓储
CBLibrary.Repository.UnitOfWork: 工作单元
CBLibrary.Repository.Cache: 缓存
CBLibrary.Repository.Extensions: 扩展方法
Usages
v1.1.3
Features
- 修复分页bug GetPaginationTupleFromCacheAsync
v1.1.4
Features
- AppServiceBase 新增移除缓存方法
Task RemoveCache(string cachekey)
Task RemoveCache(IEnumerable<string> cachekeys)
- CBLibrary.Repository.Cache 移除ECachePrefix
v1.1.5
Features
- 修改审计日志UserId长度限制[StringLength(36)]
v1.1.6 - v1.1.7
Features
- 修改组件引用
v1.1.8
Features
- 查询方法添加导航属性可选参数
v1.1.9
Features
- 增/删/改支持事务操作
UserService.AddAsync(input, false); # 设置禁止自动提交到数据库
LogService.AddAsync(input, false); # 设置禁止自动提交到数据库
var result = await UnitOfWork.CommitAsync(); # 统一提交到数据库
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. 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. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
- AutoMapper (>= 8.1.0)
- Microsoft.EntityFrameworkCore.Relational (>= 2.2.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
增/删/改支持事务操作