C# Class NSoft.NFramework.Data.NHibernateEx.EntityTool

Afficher le fichier Open project: debop/NFramework

Méthodes publiques

Méthode Description
AssertExists ( this entity ) : void

지정된 엔티티가 null이 아님을 검사한다.

AssertExists ( this entity, string entityName ) : void

지정된 엔티티가 null이 아님을 검사한다.

ValidateEntity ( this entity ) : void

지정된 엔티티의 유효성을 검사합니다.

Method Details

AssertExists() public static méthode

지정된 엔티티가 null이 아님을 검사한다.
public static AssertExists ( this entity ) : void
entity this
Résultat void

AssertExists() public static méthode

지정된 엔티티가 null이 아님을 검사한다.
public static AssertExists ( this entity, string entityName ) : void
entity this
entityName string
Résultat void

ValidateEntity() public static méthode

지정된 엔티티의 유효성을 검사합니다.
유효성 검사에 실패했을 때
public static ValidateEntity ( this entity ) : void
entity this 유효성 검사를 수행할 엔티티
Résultat void