Struct DataValidationResult
Encapsulates DataRow and its validation errors.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public struct DataValidationResult
Constructors
| Name | Description |
|---|---|
| DataValidationResult(DataRow, IDataValidationErrors) | Initializes a new instance of DataValidationResult. |
Fields
| Name | Description |
|---|---|
| DataRow | Gets the DataRow. |
| Errors | Gets the validation errors of the DataRow. |
Properties
| Name | Description |
|---|---|
| IsEmpty | Gets a value indicating whether this struct is empty. |
Methods
| Name | Description |
|---|---|
| ParseJson(DataSet, String, IJsonCustomizer) | Deserializes JSON string into DataValidationResult |
| ToJsonString(Boolean, IJsonCustomizer) | Serializes this data validation result into JSON. |
| ToString() |