Share via


ValidationExtensionMethods Class

Contains IsBad(IEdmElement) and IsBad(IEdmElement) extension methods.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.Validation.ValidationExtensionMethods

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ValidationExtensionMethods
'Usage
public static class ValidationExtensionMethods
[ExtensionAttribute]
public ref class ValidationExtensionMethods abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ValidationExtensionMethods =  class end
public final class ValidationExtensionMethods

The ValidationExtensionMethods type exposes the following members.

Methods

  Name Description
Public methodStatic member Errors Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type.
Public methodStatic member IsBad Indicates whether this element contains errors returned by the Errors(IEdmElement) method.
Public methodStatic member TypeErrors Gets the errors, if any, that belong to this type reference or its definition.

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