Classe DataRuleEngine
Neste artigo
Carrega e executa as regras de dados.
Hierarquia de herança
System.Object
Microsoft.Data.Schema.StaticCodeAnalysis.DataRuleEngine
Namespace: Microsoft.Data.Schema.StaticCodeAnalysis
Assembly: Microsoft.Data.Schema (em Microsoft.Data.Schema.dll)
Sintaxe
'Declaração
Public NotInheritable Class DataRuleEngine
public static class DataRuleEngine
public ref class DataRuleEngine abstract sealed
[<AbstractClass>]
[<Sealed>]
type DataRuleEngine = class end
public final class DataRuleEngine
O tipo DataRuleEngine expõe os membros a seguir.
Métodos
ExecuteRules(DataSchemaModel, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%)
ExecuteRules(DataSchemaModel, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%)
ExecuteRules(IModelElement, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%)
ExecuteRules(IModelElement, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%)
ExecuteRules(IEnumerable<IModelElement>, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%)
ExecuteRules(IEnumerable<IModelElement>, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%)
ExecuteRules(DataSchemaModel, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>)
ExecuteRules(DataSchemaModel, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>)
ExecuteRules(IModelElement, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>)
ExecuteRules(IModelElement, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>)
ExecuteRules(IEnumerable<IModelElement>, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>)
ExecuteRules(IEnumerable<IModelElement>, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>)
ExecuteRules(DataSchemaModel, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>, Func<Boolean>)
ExecuteRules(DataSchemaModel, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>, Func<Boolean>)
ExecuteRules(IModelElement, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>, Func<Boolean>)
ExecuteRules(IModelElement, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>, Func<Boolean>)
ExecuteRules(IEnumerable<IModelElement>, IEnumerable<DataRule>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>, Func<Boolean>)
ExecuteRules(IEnumerable<IModelElement>, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>, Func<Boolean>)
GetRules<T>
Início
Acesso thread-safe
Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.
Consulte também
Referência
Namespace Microsoft.Data.Schema.StaticCodeAnalysis
Outros recursos
Demonstra Passo a passo: Criação de um personalizado código análise regra Assembly estático para SQL