0
0
xiaoxue преди 5 години
родител
ревизия
75ce827304
променени са 1 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 7 0
      Admin.Core.Common/Attributes/TransactionAttribute.cs

+ 7 - 0
Admin.Core.Common/Attributes/TransactionAttribute.cs

@@ -10,7 +10,14 @@ namespace Admin.Core.Common
     [AttributeUsage(AttributeTargets.Method, Inherited = true)]
     public class TransactionAttribute : Attribute
     {
+        /// <summary>
+        /// 事务传播方式
+        /// </summary>
         public Propagation Propagation { get; set; } = Propagation.Requierd;
+
+        /// <summary>
+        /// 事务隔离级别
+        /// </summary>
         public IsolationLevel? IsolationLevel { get; set; }
     }
 }