DataValidationFromDataRow Method
Namespace: Aliquo.Windows.ModelsAssembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
public static DataValidation FromDataRow(
DataRow data,
List<string> keyColumns = null,
DataTable tableSchema = null
)
Public Shared Function FromDataRow (
data As DataRow,
Optional keyColumns As List(Of String) = Nothing,
Optional tableSchema As DataTable = Nothing
) As DataValidation
- 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.
DataValidationDataValidation with the result.
Fields of type
Boolean are only assigned the
value if the table schema column allows
values.