Exemple #1
0
 public static QueryOverRestrictionBuilder <TRoot, TSub> AddWhereRestrictionOn <TRoot, TSub>(
     this QueryOver <TRoot, TSub> queryOver,
     Expression <Func <TSub, object> > expr)
 {
     return(queryOver.WhereRestrictionOn(expr));
 }
Exemple #2
0
 /// <summary>
 /// 지정된 Expression의 속성에 대해 NOT IN () 검색 수행
 /// </summary>
 public static QueryOver <TRoot, TSub> AddNotInG <TRoot, TSub, TValue>(this QueryOver <TRoot, TSub> queryOver,
                                                                       Expression <Func <TSub, object> > expr,
                                                                       params TValue[] values)
 {
     return(queryOver.WhereRestrictionOn(expr).Not.IsInG <TValue>(values.ToArray()));
 }
Exemple #3
0
 public static QueryOverRestrictionBuilder <T, T> AddWhereRestrictionOn <T>(this QueryOver <T, T> queryOver,
                                                                            Expression <Func <object> > expr)
 {
     return(queryOver.WhereRestrictionOn(expr));
 }
Exemple #4
0
 /// <summary>
 /// 지정된 Expression의 속성에 대해 IN () 검색 수행
 /// </summary>
 public static QueryOver <TRoot, TSub> AddIn <TRoot, TSub>(this QueryOver <TRoot, TSub> queryOver,
                                                           Expression <Func <TSub, object> > expr,
                                                           params object[] values)
 {
     return(queryOver.WhereRestrictionOn(expr).IsIn(values.ToArray()));
 }