Struct Validation
This object store the required parameters to create a Collection with schema validation.
Namespace: MySqlX.XDevAPI.Common
Assembly: MySql.Data.dll
Version: 9.1.0
Syntax
public struct Validation
Properties
Level
It can be STRICT to enable schema validation or OFF to disable ValidationLevel.
Declaration
public ValidationLevel? Level { readonly get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ValidationLevel> |
Schema
The JSON which define the rules to be validated in the collection.
Declaration
public string Schema { readonly get; set; }
Property Value
Type | Description |
---|---|
System.String |