DataValidation Class

Data validation class.

Definition

Namespace: Aliquo.Windows.Models
Assembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
C#
public class DataValidation : BindableBase
Inheritance
Object    BindableCore    BindableBase    DataValidation

Remarks

Table element with data validation support for field elements.

Constructors

DataValidation Class constructor.
DataValidation(String) Class constructor.

Properties

Fields List of field elements.
ItemInt32 Gets the field element.
ItemString Gets the field element.
Table Table name.
ValidationProvider Gets or sets the reference of the data validations provider.

Methods

Contains(Int32) Indicate if the list of field elements contains the indicated field.
Contains(String) Indicate if the list of field elements contains the indicated field.
FromData Creates a new DataValidation object from the given table element.
FromDataRow Creates a new DataValidation object from the contents of a data row.
GetField Get a DataFieldValidation that matches the given field.
ToData Converts this instance to the Data model and copies its properties.

Extension Methods

GetAttributeFromT Get attribute from a class.
(Defined by ObjectExtensions)
ValidateDataAnnotations Validate class with validator of DataAnnotations.
(Defined by ObjectExtensions)

See Also