Share via


ValidationRuleSet Class

Provides a set of rules to run during validation.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.Validation.ValidationRuleSet

Namespace:  Microsoft.Data.Edm.Validation
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public NotInheritable Class ValidationRuleSet _
    Implements IEnumerable(Of ValidationRule), IEnumerable
'Usage
Dim instance As ValidationRuleSet
public sealed class ValidationRuleSet : IEnumerable<ValidationRule>, 
    IEnumerable
public ref class ValidationRuleSet sealed : IEnumerable<ValidationRule^>, 
    IEnumerable
[<SealedAttribute>]
type ValidationRuleSet =  
    class 
        interface IEnumerable<ValidationRule>
        interface IEnumerable 
    end
public final class ValidationRuleSet implements IEnumerable<ValidationRule>, IEnumerable

The ValidationRuleSet type exposes the following members.

Constructors

  Name Description
Public method ValidationRuleSet(IEnumerable<ValidationRule>) Creates a new instance of the ValidationRuleSet class.
Public method ValidationRuleSet(IEnumerable<ValidationRule>, IEnumerable<ValidationRule>) Initializes a new instance of the ValidationRuleSet class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public methodStatic member GetEdmModelRuleSet Gets the default validation ruleset for the given version.
Public method GetEnumerator Gets all of the rules in this ruleset.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Gets all of the rules in this ruleset.

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.Edm.Validation Namespace