Microsoft.Data.Schema.StaticCodeAnalysis Namespace

The Microsoft.Data.Schema.StaticCodeAnalysis namespace provides classes that you can use to create and manage static code analysis rules.

Classes

  Class Description
Public class DataRule Provides a base class for data rules.
Public class DataRuleAttribute Defines a localizable namespace, category, and identifier for the associated rule.
Public class DataRuleEngine Loads and executes data rules.
Public class DataRuleError Represents an error, exception, or warning that is generated by executing a DataRule.
Public class DataRuleException Represents an exception thrown during the processing of a DataRule.
Public class DataRuleExecutionContext Defines the context in which a static code analysis rule is executed.
Public class DataRuleProblem Class to store the details of an issue that was detected by a rule.
Public class DataRuleProblemSuppressionContext The context information that is used to suppress an issue that was found through database code analysis.
Public class DataRuleProperties Provides a set of properties for a DataRule object.
Public class DataRuleSetting Contains the settings for a specific rule and a specific configuration.
Public class StaticCodeAnalysisRule Provides a base class for a group or category of similar rules.
Public class SupportedElementTypeAttribute Indicates the type of element against which a DataRule runs.

Enumerations

  Enumeration Description
Public enumeration DataRuleProblemSeverity Defines the severity levels used to report issues that were found through database code analysis.
Public enumeration DataRuleScope Specifies the scope that is examined by a DataRule.

See Also

Reference

Other Resources

Create and Register Additional Rules for Analyzing Database Code