コード例 #1
0
ファイル: Extensions_And.cs プロジェクト: amosvoron/querytalk
 /// <summary>
 /// Specifies the additional negative search condition for the rows returned by the query based on the comparison between the two scalar arguments.
 /// </summary>
 /// <param name="prev">A predecessor object.</param>
 /// <param name="argument1">Is the first scalar argument.</param>
 /// <param name="argument2">Is the second scalar argument.</param>
 public static OnAndChainer AndNot(this IOnAnd prev, ScalarArgument argument1, ScalarArgument argument2)
 {
     return(new OnAndChainer((Chainer)prev, argument1, argument2, false));
 }
コード例 #2
0
ファイル: Extensions_And.cs プロジェクト: amosvoron/querytalk
 /// <summary>
 /// Specifies the additional search condition for the rows returned by the query.
 /// </summary>
 /// <param name="prev">A predecessor object.</param>
 /// <param name="condition">Defines the negative condition to be met for the rows to be returned.</param>
 public static OnAndChainer AndNot(this IOnAnd prev, Expression condition)
 {
     return(new OnAndChainer((Chainer)prev, condition.Not()));
 }