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

TableDefinition<(Of <(<'TEntity>)>)>..::..ValidateEntity Method

Validates the entity.

Namespace:  RingSoft.DbLookup.ModelDefinition
Assembly:  RingSoft.DbLookup (in RingSoft.DbLookup.dll)

Syntax


public bool ValidateEntity(
	TEntity entity,
	IValidationSource validationSource
)
Public Function ValidateEntity ( _
	entity As TEntity, _
	validationSource As IValidationSource _
) As Boolean
public:
bool^ ValidateEntity(
	TEntity entity, 
	IValidationSource^ validationSource
)

Parameters

entity
Type: TEntity
The entity.
validationSource
Type: RingSoft.DbLookup.ModelDefinition..::..IValidationSource
The validation source.

Return Value

true if XXXX, false otherwise.