TableDefinition<(Of <(<'TEntity>)>)>..::..ValidateEntity Method
Validates the entity.
Namespace:
RingSoft.DbLookup.ModelDefinitionAssembly: 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.