RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbMaintenance Namespace

DbMaintenanceViewModel<(Of <(<'TEntity>)>)>..::..ValidateEntityProperty Method

Validates the entity property.

Namespace:  RingSoft.DbMaintenance
Assembly:  RingSoft.DbMaintenance (in RingSoft.DbMaintenance.dll)

Syntax


public virtual bool ValidateEntityProperty(
	FieldDefinition fieldDefinition,
	string valueToValidate
)
Public Overridable Function ValidateEntityProperty ( _
	fieldDefinition As FieldDefinition, _
	valueToValidate As String _
) As Boolean
public:
virtual bool^ ValidateEntityProperty(
	FieldDefinition^ fieldDefinition, 
	String^ valueToValidate
)

Parameters

fieldDefinition
Type: RingSoft.DbLookup.ModelDefinition.FieldDefinitions..::..FieldDefinition
The field definition.
valueToValidate
Type: String
The value to validate.

Return Value

true if XXXX, false otherwise.