This commit is contained in:
16
source/csla10/Backup/CSLA/TransactionalAttribute.vb
Normal file
16
source/csla10/Backup/CSLA/TransactionalAttribute.vb
Normal file
@@ -0,0 +1,16 @@
|
||||
' 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
|
||||
Reference in New Issue
Block a user