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

Show file Open project: debop/NFramework

Public Methods

Method Description
AssertExists ( this entity ) : void

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

AssertExists ( this entity, string entityName ) : void

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

ValidateEntity ( this entity ) : void

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

Method Details

AssertExists() public static method

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

AssertExists() public static method

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

ValidateEntity() public static method

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