ValidationRuleSet Constructor (IEnumerable<ValidationRule>, IEnumerable<ValidationRule>)
Initializes a new instance of the ValidationRuleSet class.
Namespace: Microsoft.Data.Edm.Validation
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Sub New ( _
baseSet As IEnumerable(Of ValidationRule), _
newRules As IEnumerable(Of ValidationRule) _
)
'Usage
Dim baseSet As IEnumerable(Of ValidationRule)
Dim newRules As IEnumerable(Of ValidationRule)
Dim instance As New ValidationRuleSet(baseSet, _
newRules)
public ValidationRuleSet(
IEnumerable<ValidationRule> baseSet,
IEnumerable<ValidationRule> newRules
)
public:
ValidationRuleSet(
IEnumerable<ValidationRule^>^ baseSet,
IEnumerable<ValidationRule^>^ newRules
)
new :
baseSet:IEnumerable<ValidationRule> *
newRules:IEnumerable<ValidationRule> -> ValidationRuleSet
public function ValidationRuleSet(
baseSet : IEnumerable<ValidationRule>,
newRules : IEnumerable<ValidationRule>
)
Parameters
- baseSet
Type: System.Collections.Generic.IEnumerable<ValidationRule>
The ruleset whose rules should be contained in this set.
- newRules
Type: System.Collections.Generic.IEnumerable<ValidationRule>
The Additional rules to add to the set.