コード例 #1
0
 /// <summary>
 /// Apply a "between" constraint to the named property
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static RestrictionBetweenBuilder IsBetween(this object projection, object lo)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #2
0
 /// <summary>
 /// Apply a "like" restriction in a QueryOver expression
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static bool IsInsensitiveLike(this string projection, string comparison, MatchMode matchMode)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #3
0
 /// <summary>
 /// Apply an "in" constraint to the named property
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static bool IsIn(this object projection, ICollection values)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #4
0
 /// <summary>
 /// Apply a "like" restriction in a QueryOver expression
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static bool IsLike(this string projection, string comparison)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #5
0
 /// <summary>
 /// Apply a "like" restriction in a QueryOver expression
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static bool IsLike(this string projection, string comparison, MatchMode matchMode, char?escapeChar)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #6
0
 /// <summary>
 /// Project SQL function concat()
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static string Concat(params string[] strings)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #7
0
 /// <summary>
 /// Project SQL function abs()
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static double Abs(this double numericProperty)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #8
0
 /// <summary>
 /// Project SQL function coalesce()
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static T?Coalesce <T>(this T?objectProperty, T replaceValueIfIsNull) where T : struct
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #9
0
 /// <summary>
 /// Project SQL function mod()
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static int Mod(this int numericProperty, int divisor)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #10
0
 /// <summary>
 /// Project SQL function locate()
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static int CharIndex(this string stringProperty, string theChar, int startLocation)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #11
0
 /// <summary>
 /// Project SQL function coalesce()
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static T Coalesce <T>(this T objectProperty, T replaceValueIfIsNull)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #12
0
 /// <summary>
 /// Project SQL function substring()
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static string Substr(this string stringProperty, int startIndex, int length)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #13
0
 /// <summary>
 /// Project SQL function bit_length()
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static int BitLength(this string stringProperty)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #14
0
 /// <summary>
 /// Project SQL function trim()
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static string TrimStr(this string stringProperty)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #15
0
 public bool And(object hi)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #16
0
 /// <summary>
 /// Project Entity
 /// </summary>
 public static T AsEntity <T>(this T alias) where T : class
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #17
0
 public static IProjection SubQuery <T>(QueryOver <T> detachedQueryOver)
 {
     return(Projections.SubQuery(detachedQueryOver.DetachedCriteria));
 }
コード例 #18
0
 /// <summary>
 /// Project SQL function sqrt()
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static double Sqrt(this int numericProperty)
 {
     throw QueryOver.GetDirectUsageException();
 }
コード例 #19
0
ファイル: Subqueries.cs プロジェクト: zmp2000/nhibernate-core
 /// <summary>
 /// Add a NotExists subquery criterion
 /// </summary>
 public static AbstractCriterion WhereNotExists <U>(QueryOver <U> detachedQuery)
 {
     return(Subqueries.NotExists(detachedQuery.DetachedCriteria));
 }
コード例 #20
0
 /// <summary>
 /// Project SQL function abs()
 /// Note: throws an exception outside of a QueryOver expression
 /// </summary>
 public static Int64 Abs(this Int64 numericProperty)
 {
     throw QueryOver.GetDirectUsageException();
 }