Click or drag to resize

propertyAnnotationPresetSetFrom Method (DataTable, Boolean)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Sets or updates the preset using data annotations from table

Namespace:  imbSCI.Core.style.preset
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public void SetFrom(
	DataTable table,
	bool skipExistingAnnotations = true
)
Request Example View Source

Parameters

table
Type: System.DataDataTable
The table.
skipExistingAnnotations (Optional)
Type: SystemBoolean
if set to true, it will not update already defined data annotation rule of a property.
See Also