Skip to content

Commit eb7a473

Browse files
committed
事物属性说明
1 parent b5b0f4e commit eb7a473

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Admin.Core.Common/Attributes/TransactionAttribute.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@ namespace Admin.Core.Common
1010
[AttributeUsage(AttributeTargets.Method, Inherited = true)]
1111
public class TransactionAttribute : Attribute
1212
{
13+
/// <summary>
14+
/// 事务传播方式
15+
/// </summary>
1316
public Propagation Propagation { get; set; } = Propagation.Requierd;
17+
18+
/// <summary>
19+
/// 事务隔离级别
20+
/// </summary>
1421
public IsolationLevel? IsolationLevel { get; set; }
1522
}
1623
}

0 commit comments

Comments
 (0)