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 | |
---|---|---|
ValidationRuleSet(IEnumerable<ValidationRule>) | Creates a new instance of the ValidationRuleSet class. | |
ValidationRuleSet(IEnumerable<ValidationRule>, IEnumerable<ValidationRule>) | Initializes a new instance of the ValidationRuleSet class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetEdmModelRuleSet | Gets the default validation ruleset for the given version. | |
GetEnumerator | Gets all of the rules in this ruleset. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
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.