TransactionBeginningRule Class
Represents a rule that is called when a transaction is beginning in the model.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public MustInherit Class TransactionBeginningRule _
Inherits Rule
'Usage
Dim instance As TransactionBeginningRule
public abstract class TransactionBeginningRule : Rule
public ref class TransactionBeginningRule abstract : public Rule
public abstract class TransactionBeginningRule extends Rule
Remarks
When a transaction is beginning in the model and you want to do something programmatically, you define a class derived from this class.
A RuleOnAttribute attribute placed on the class indicates what type of object the Rule works on and when the rule should occurr.
The rule is called when the specified type of transaction is beginning.
You can also define rules for when a transaction is committing (TransactionCommittingRule) and when a transaction is being rolled back (TransactionRollingBackRule).
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Rule
Microsoft.VisualStudio.Modeling.TransactionBeginningRule
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
TransactionBeginningRule Members
Microsoft.VisualStudio.Modeling Namespace