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

파일 보기 프로젝트 열기: debop/NFramework 1 사용 예제들

공개 메소드들

메소드 설명
GetRootCriteria ( this criteria ) : CriteriaImpl

Get Root Criteria

GetRootType ( this criteria ) : Type

Get the entity type in criteria

GetRootType ( this detachedCriteria, ISession session ) : Type

Get the root entity type in criteria

GetSession ( this criteria ) : ISessionImplementor

criteria가 사용하는 ISessionImplementor을 반환합니다.

IsBetweenCriterion ( this propertyName, object lo, object hi ) : ICriterion

Between (상하한을 포함하는 구간의 값을 구한다. 상하한에 대한 구간 검증은 하지 않는다!!!)

IsInRangeCriterion ( this value, string loPropertyName, string hiPropertyName ) : ICriterion

지정한 값이 두 속성의 값 범위 안에 있을 때 ( Between 의 반대 개념 )

IsOverlapCriterion ( this period, string loPropertyName, string hiPropertyName ) : ICriterion

주어진 기간이 오버랩되는지를 파악하는 Criterion

비공개 메소드들

메소드 설명
ToMatchString ( this matchString, NHibernate.Criterion.MatchMode matchMode ) : string

메소드 상세

GetRootCriteria() 공개 정적인 메소드

Get Root Criteria
public static GetRootCriteria ( this criteria ) : CriteriaImpl
criteria this
리턴 CriteriaImpl

GetRootType() 공개 정적인 메소드

Get the entity type in criteria
criteria의 session이 null일 경우
public static GetRootType ( this criteria ) : Type
criteria this
리턴 System.Type

GetRootType() 공개 정적인 메소드

Get the root entity type in criteria
public static GetRootType ( this detachedCriteria, ISession session ) : Type
detachedCriteria this
session ISession
리턴 System.Type

GetSession() 공개 정적인 메소드

criteria가 사용하는 ISessionImplementor을 반환합니다.
public static GetSession ( this criteria ) : ISessionImplementor
criteria this
리턴 ISessionImplementor

IsBetweenCriterion() 공개 정적인 메소드

Between (상하한을 포함하는 구간의 값을 구한다. 상하한에 대한 구간 검증은 하지 않는다!!!)
public static IsBetweenCriterion ( this propertyName, object lo, object hi ) : ICriterion
propertyName this 속성명
lo object 하한
hi object 상한
리턴 ICriterion

IsInRangeCriterion() 공개 정적인 메소드

지정한 값이 두 속성의 값 범위 안에 있을 때 ( Between 의 반대 개념 )
public static IsInRangeCriterion ( this value, string loPropertyName, string hiPropertyName ) : ICriterion
value this
loPropertyName string
hiPropertyName string
리턴 ICriterion

IsOverlapCriterion() 공개 정적인 메소드

주어진 기간이 오버랩되는지를 파악하는 Criterion
public static IsOverlapCriterion ( this period, string loPropertyName, string hiPropertyName ) : ICriterion
period this
loPropertyName string
hiPropertyName string
리턴 ICriterion