C# Class Shaml.Core.NHibernateValidator.HasUniqueDomainSignatureWithGuidIdValidator

Provides a class level validator for determining if the entity has a unique domain signature when compared with other entries in the database. Due to the fact that .NET does not support generic attributes, this only works for entity types having an Id of type string.
Inheritance: NHibernate.Validator.Engine.IValidator
Show file Open project: sztupy/shaml

Public Methods

Method Description
IsValid ( object value, IConstraintValidatorContext constraintValidatorContext ) : bool

Method Details

IsValid() public method

public IsValid ( object value, IConstraintValidatorContext constraintValidatorContext ) : bool
value object
constraintValidatorContext IConstraintValidatorContext
return bool