public static void SetValuesFromModel(
DataRow row,
Object obj,
List<string> excludeFields = null,
List<string> excludeProperties = null
)
Public Shared Sub SetValuesFromModel (
row As DataRow,
obj As Object,
Optional excludeFields As List(Of String) = Nothing,
Optional excludeProperties As List(Of String) = Nothing
)
Available properties:
- ColumnAttribute: identifies the data column to which it is mapped.
- NotMappedAttribute: indicates if the column is not mapped.
- DataTypeAttribute: identifies the type of data.
- CutTypeStringAttribute: determines the type of cut to be made in the text type values (by default it is cut from the right).
- EnumValueTypeAttribute: determines the type of value used in the enumeration property.
- ExtendedDataFieldsAttribute: indicates whether the property corresponds to a list of DataField.