Method | Description | |
---|---|---|
Validate ( System.Data.Entity.Internal.Validation.EntityValidationContext entityValidationContext, InternalMemberEntry property ) : IEnumerable |
Validates a property or an entity.
|
|
ValidationAttributeValidator ( System.ComponentModel.DataAnnotations.ValidationAttribute validationAttribute, System.ComponentModel.DataAnnotations.DisplayAttribute displayAttribute ) : System.Collections.Generic |
Creates an instance of ValidationAttributeValidator class.
|
Method | Description | |
---|---|---|
AttributeApplicable ( System.Data.Entity.Internal.Validation.EntityValidationContext entityValidationContext, InternalMemberEntry property ) : bool |
Determines if the attribute should be enforced given the context of the validation request.
|
protected AttributeApplicable ( System.Data.Entity.Internal.Validation.EntityValidationContext entityValidationContext, InternalMemberEntry property ) : bool | ||
entityValidationContext | System.Data.Entity.Internal.Validation.EntityValidationContext | Validation context. Never null. |
property | InternalMemberEntry | Property to validate. Null for entity validation. Not null for property validation. |
return | bool |
public Validate ( System.Data.Entity.Internal.Validation.EntityValidationContext entityValidationContext, InternalMemberEntry property ) : IEnumerable |
||
entityValidationContext | System.Data.Entity.Internal.Validation.EntityValidationContext | Validation context. Never null. |
property | InternalMemberEntry | Property to validate. Null for entity validation. Not null for property validation. |
return | IEnumerable |
public ValidationAttributeValidator ( System.ComponentModel.DataAnnotations.ValidationAttribute validationAttribute, System.ComponentModel.DataAnnotations.DisplayAttribute displayAttribute ) : System.Collections.Generic | ||
validationAttribute | System.ComponentModel.DataAnnotations.ValidationAttribute | Validation attribute used to validate a property or an entity. |
displayAttribute | System.ComponentModel.DataAnnotations.DisplayAttribute | |
return | System.Collections.Generic |