📄 transactionalattribute.cs
字号:
using System;
namespace CSLA
{
/// <summary>
/// Allows us to mark the DataPortal_xxx methods in our business
/// classes as transactional.
/// </summary>
/// <remarks>
/// When a method is marked as transactional, the DataPortal
/// mechanism runs the method within a COM+ transactional
/// context, so the data access is protected by a 2-phase
/// distributed transaction.
/// </remarks>
[AttributeUsage(AttributeTargets.Method)]
public class TransactionalAttribute : Attribute
{}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -