C# Class nHydrate.EFCore.DataAccess.BaseEntity

Inheritance: INHEntityObject
Afficher le fichier Open project: nHydrate/nHydrate

Méthodes publiques

Méthode Description
GetRuleViolations ( ) : IEnumerable

Get the validation rule violations

IsEquivalent ( INHEntityObject item ) : bool

Test another entity object for equivalence against the current instance

IsValid ( ) : bool

Determines if all of the validation rules have been met

Méthodes protégées

Méthode Description
GetObjectDataErrorInfo ( ) : string

This method may be overridden to provide validation for entity objects

GetObjectPropertyDataErrorInfo ( string columnName ) : string

This method may be overridden to provide validation for entity properties

OnPropertyChanged ( System e ) : void
OnPropertyChanging ( System e ) : void

Method Details

GetObjectDataErrorInfo() protected méthode

This method may be overridden to provide validation for entity objects
protected GetObjectDataErrorInfo ( ) : string
Résultat string

GetObjectPropertyDataErrorInfo() protected méthode

This method may be overridden to provide validation for entity properties
protected GetObjectPropertyDataErrorInfo ( string columnName ) : string
columnName string
Résultat string

GetRuleViolations() public méthode

Get the validation rule violations
public GetRuleViolations ( ) : IEnumerable
Résultat IEnumerable

IsEquivalent() public abstract méthode

Test another entity object for equivalence against the current instance
public abstract IsEquivalent ( INHEntityObject item ) : bool
item INHEntityObject
Résultat bool

IsValid() public méthode

Determines if all of the validation rules have been met
public IsValid ( ) : bool
Résultat bool

OnPropertyChanged() protected méthode

protected OnPropertyChanged ( System e ) : void
e System
Résultat void

OnPropertyChanging() protected méthode

protected OnPropertyChanging ( System e ) : void
e System
Résultat void