CBLibrary.Repository.Core 1.1.9

.NET Core 2.1
NuGet\Install-Package CBLibrary.Repository.Core -Version 1.1.9
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.
dotnet add package CBLibrary.Repository.Core --version 1.1.9
<PackageReference Include="CBLibrary.Repository.Core" Version="1.1.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CBLibrary.Repository.Core --version 1.1.9
#r "nuget: CBLibrary.Repository.Core, 1.1.9"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// 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
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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.1.9 439 1/9/2020
1.1.8 356 9/19/2019
1.1.7 361 8/21/2019
1.1.6 352 8/20/2019
1.1.5 357 8/5/2019
1.1.4 331 7/27/2019
1.1.3 350 7/25/2019
1.1.2 350 7/23/2019
1.1.1 360 7/23/2019
1.1.0 343 7/23/2019
1.0.1 388 5/1/2019
1.0.0 385 4/29/2019

增/删/改支持事务操作