示例#1
0
 /// <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 OnOrChainer OrNot(this IOnOr prev, ScalarArgument argument1, ScalarArgument argument2)
 {
     return(new OnOrChainer((Chainer)prev, argument1, argument2, false));
 }
示例#2
0
 /// <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 OnOrChainer OrNot(this IOnOr prev, Expression condition)
 {
     return(new OnOrChainer((Chainer)prev, condition.Not()));
 }