Skip to content

Commit

Permalink
🎨 fixed unit of work bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
MonkSoul committed Oct 15, 2020
1 parent cc25dc1 commit 64a6290
Show file tree
Hide file tree
Showing 195 changed files with 223 additions and 214 deletions.
2 changes: 1 addition & 1 deletion framework/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_property = false:suggestion

# Add file header
file_header_template = -----------------------------------------------------------------------------\nFur .NET 5 平台下企业应用开发最佳实践框架。\nCopyright © 2020 Fur, Baiqian Co.,Ltd.\n\n框架名称:Fur\n框架作者:百小僧\n框架版本:1.0.0-rc.final.5\n官方网站:https://chinadot.net\n源码地址:Gitee:https://gitee.com/monksoul/Fur \n Github:https://github.com/monksoul/Fur \n开源协议:Apache-2.0(http://www.apache.org/licenses/LICENSE-2.0)\n-----------------------------------------------------------------------------
file_header_template = -----------------------------------------------------------------------------\nFur .NET 5 平台下企业应用开发最佳实践框架。\nCopyright © 2020 Fur, Baiqian Co.,Ltd.\n\n框架名称:Fur\n框架作者:百小僧\n框架版本:1.0.0-rc.final.6\n官方网站:https://chinadot.net\n源码地址:Gitee:https://gitee.com/monksoul/Fur \n Github:https://github.com/monksoul/Fur \n开源协议:Apache-2.0(http://www.apache.org/licenses/LICENSE-2.0)\n-----------------------------------------------------------------------------
2 changes: 1 addition & 1 deletion framework/Fur/App/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/App/Attributes/AppStartupAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/App/Extensions/Types/ObjectExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/App/Extensions/WebHostBuilderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/App/Filters/StartupFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/App/Options/AppSettingsOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/App/Proxies/IDispatchProxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/App/Startups/AppStartup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/App/Startups/HostingStartup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/Authorization/Options/JWTSettingsOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/Authorization/Penetrates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/DataEncryption/AESEncryption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/DataEncryption/DESCEncryption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/DataEncryption/MD5Encryption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/DataValidation/Enums/ValidationPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/DataValidation/Enums/ValidationTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
14 changes: 7 additions & 7 deletions framework/Fur/DataValidation/Filters/DataValidationFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down Expand Up @@ -36,11 +36,6 @@ public sealed class DataValidationFilter : IActionFilter, IOrderedFilter
/// </summary>
private const string MiniProfilerCategory = "validation";

/// <summary>
/// 过滤器排序
/// </summary>
internal const int FilterOrder = -2000;

/// <summary>
/// 服务提供器
/// </summary>
Expand All @@ -56,7 +51,12 @@ public DataValidationFilter(IServiceProvider serviceProvider)
}

/// <summary>
/// 排序
/// 过滤器排序
/// </summary>
internal const int FilterOrder = -1000;

/// <summary>
/// 排序属性
/// </summary>
public int Order => FilterOrder;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 框架名称:Fur
// 框架作者:百小僧
// 框架版本:1.0.0-rc.final.5
// 框架版本:1.0.0-rc.final.6
// 官方网站:https://chinadot.net
// 源码地址:Gitee:https://gitee.com/monksoul/Fur
// Github:https://github.com/monksoul/Fur
Expand Down
Loading

0 comments on commit 64a6290

Please sign in to comment.