ValidationRuleSet.GetEdmModelRuleSet Method
Gets the default validation ruleset for the given version.
Namespace: Microsoft.Data.Edm.Validation
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Shared Function GetEdmModelRuleSet ( _
version As Version _
) As ValidationRuleSet
'Usage
Dim version As Version
Dim returnValue As ValidationRuleSet
returnValue = ValidationRuleSet.GetEdmModelRuleSet(version)
public static ValidationRuleSet GetEdmModelRuleSet(
Version version
)
public:
static ValidationRuleSet^ GetEdmModelRuleSet(
Version^ version
)
static member GetEdmModelRuleSet :
version:Version -> ValidationRuleSet
public static function GetEdmModelRuleSet(
version : Version
) : ValidationRuleSet
Parameters
- version
Type: System.Version
The EDM version being validated.
Return Value
Type: Microsoft.Data.Edm.Validation.ValidationRuleSet
The set of rules to validate that the model conforms to the given version.