Files
ayanova7/source/csla10/Backup/CSLA/TransactionalAttribute.vb
2018-06-29 19:47:36 +00:00

17 lines
596 B
VB.net

' this attribute allows us to mark dataportal methods
' as transactional to trigger use of EnterpriseServices
''' <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
Inherits Attribute
End Class