C# Class SharpArch.NHibernate.NHibernateValidator.HasUniqueDomainSignatureAttribute

Inheritance: HasUniqueDomainSignatureAttributeBase
Datei anzeigen Open project: sharparchitecture/Sharp-Architecture

Protected Methods

Method 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 method

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.
return System.ComponentModel.DataAnnotations.ValidationResult