C# Class Shaml.Core.NHibernateValidator.HasUniqueDomainSignatureWithStringIdValidator

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
Afficher le fichier Open project: sztupy/shaml

Méthodes publiques

Méthode Description
IsValid ( object value, IConstraintValidatorContext constraintValidatorContext ) : bool

Method Details

IsValid() public méthode

public IsValid ( object value, IConstraintValidatorContext constraintValidatorContext ) : bool
value object
constraintValidatorContext IConstraintValidatorContext
Résultat bool