Поделиться через


DataRuleEngine Class

Loads and executes data rules.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.StaticCodeAnalysis.DataRuleEngine

Namespace:  Microsoft.Data.Schema.StaticCodeAnalysis
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public NotInheritable Class DataRuleEngine
public static class DataRuleEngine
public ref class DataRuleEngine abstract sealed
[<AbstractClass>]
[<Sealed>]
type DataRuleEngine =  class end
public final class DataRuleEngine

The DataRuleEngine type exposes the following members.

Methods

  Name Description
Public methodStatic member ExecuteRules(DataSchemaModel, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%)
Public methodStatic member ExecuteRules(DataSchemaModel, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%)
Public methodStatic member ExecuteRules(IModelElement, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%)
Public methodStatic member ExecuteRules(IModelElement, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%)
Public methodStatic member ExecuteRules(IEnumerable<IModelElement>, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%)
Public methodStatic member ExecuteRules(IEnumerable<IModelElement>, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%)
Public methodStatic member ExecuteRules(DataSchemaModel, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>)
Public methodStatic member ExecuteRules(DataSchemaModel, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>)
Public methodStatic member ExecuteRules(IModelElement, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>)
Public methodStatic member ExecuteRules(IModelElement, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>)
Public methodStatic member ExecuteRules(IEnumerable<IModelElement>, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>)
Public methodStatic member ExecuteRules(IEnumerable<IModelElement>, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>)
Public methodStatic member ExecuteRules(DataSchemaModel, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>, Func<Boolean>)
Public methodStatic member ExecuteRules(DataSchemaModel, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>, Func<Boolean>)
Public methodStatic member ExecuteRules(IModelElement, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>, Func<Boolean>)
Public methodStatic member ExecuteRules(IModelElement, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>, Func<Boolean>)
Public methodStatic member ExecuteRules(IEnumerable<IModelElement>, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>, Func<Boolean>)
Public methodStatic member ExecuteRules(IEnumerable<IModelElement>, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>, Func<Boolean>)
Public methodStatic member GetRules<T>

Top

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

Microsoft.Data.Schema.StaticCodeAnalysis Namespace

Other Resources

Walkthrough: Authoring a Custom Static Code Analysis Rule Assembly for SQL