Browse Source

种子数据忽略更新,防止数据被覆盖

Signed-off-by: skywolf627 <skywolf627@qq.com>
skywolf627 3 years ago
parent
commit
2b8c6aff7c
1 changed files with 7 additions and 0 deletions
  1. 7 0
      Admin.NET/Admin.NET.Core/Attribute/IgnoreUpdateAttribute.cs

+ 7 - 0
Admin.NET/Admin.NET.Core/Attribute/IgnoreUpdateAttribute.cs

@@ -0,0 +1,7 @@
+namespace Admin.NET.Core;
+/// <summary>
+/// 种子数据忽略更新,防止数据被覆盖
+/// </summary>
+public class IgnoreUpdateAttribute : Attribute
+{
+}