C# 클래스 NSoft.NFramework.Data.NHibernateEx.EntityTool

파일 보기 프로젝트 열기: debop/NFramework

공개 메소드들

메소드 설명
AssertExists ( this entity ) : void

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

AssertExists ( this entity, string entityName ) : void

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

ValidateEntity ( this entity ) : void

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

메소드 상세

AssertExists() 공개 정적인 메소드

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

AssertExists() 공개 정적인 메소드

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

ValidateEntity() 공개 정적인 메소드

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