This topic has not yet been rated - Rate this topic

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)
public abstract class TransactionBeginningRule : Rule

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).

System.Object
  Microsoft.VisualStudio.Modeling.Rule
    Microsoft.VisualStudio.Modeling.TransactionBeginningRule
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.