DataValidationFromDataRow Method

Creates a new DataValidation object from the contents of a data row.

Definition

Namespace: Aliquo.Windows.Models
Assembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
C#
public static DataValidation FromDataRow(
	DataRow data,
	List<string> keyColumns = null,
	DataTable tableSchema = null
)

Parameters

data  DataRow
Row of data to convert.
keyColumns  ListString  (Optional)
List of key columns.
tableSchema  DataTable  (Optional)
Outline of the table corresponding to the data.

Return Value

DataValidation
DataValidation with the result.

Remarks

Fields of type Boolean are only assigned the value if the table schema column allows values.

See Also