Click or drag to resize

Validation Structure

This object store the required parameters to create a Collection with schema validation.

Namespace:  MySqlX.XDevAPI.Common
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.22
Syntax
public struct Validation

The Validation type exposes the following members.

Properties
  NameDescription
Public propertyLevel
It can be STRICT to enable schema validation or OFF to disable ValidationLevel.
Public propertySchema
The JSON which define the rules to be validated in the collection.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
See Also