C# Class SharpArch.NHibernate.NHibernateValidator.HasUniqueDomainSignatureAttribute

Inheritance: HasUniqueDomainSignatureAttributeBase
Afficher le fichier Open project: sharparchitecture/Sharp-Architecture

Méthodes protégées

Méthode Description
IsValid ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult

Returns true if entity's domain signature is unique in database.

Method Details

IsValid() protected méthode

Returns true if entity's domain signature is unique in database.
protected IsValid ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult
value object The value to validate.
validationContext System.ComponentModel.DataAnnotations.ValidationContext The context information about the validation operation.
Résultat System.ComponentModel.DataAnnotations.ValidationResult