Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Microsoft.Data.Schema.StaticCodeAnalysis namespace provides classes that you can use to create and manage static code analysis rules.
Classes
Class | Description | |
---|---|---|
![]() |
DataRule | Provides a base class for data rules. |
![]() |
DataRuleAttribute | Defines a localizable namespace, category, and identifier for the associated rule. |
![]() |
DataRuleEngine | Loads and executes data rules. |
![]() |
DataRuleError | Represents an error, exception, or warning that is generated by executing a DataRule. |
![]() |
DataRuleException | Represents an exception thrown during the processing of a DataRule. |
![]() |
DataRuleExecutionContext | Defines the context in which a static code analysis rule is executed. |
![]() |
DataRuleProblem | Class to store the details of an issue that was detected by a rule. |
![]() |
DataRuleProblemSuppressionContext | The context information that is used to suppress an issue that was found through database code analysis. |
![]() |
DataRuleProperties | Provides a set of properties for a DataRule object. |
![]() |
DataRuleSetting | Contains the settings for a specific rule and a specific configuration. |
![]() |
StaticCodeAnalysisRule | Provides a base class for a group or category of similar rules. |
![]() |
SupportedElementTypeAttribute | Indicates the type of element against which a DataRule runs. |
Enumerations
Enumeration | Description | |
---|---|---|
![]() |
DataRuleProblemSeverity | Defines the severity levels used to report issues that were found through database code analysis. |
![]() |
DataRuleScope | Specifies the scope that is examined by a DataRule. |
See Also
Reference
Other Resources
Create and Register Additional Rules for Analyzing Database Code