Example #1
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 WhereAndChainer AndNot(this IWhereAnd prev, Expression condition)
 {
     return(new WhereAndChainer((Chainer)prev, condition.Not()));
 }
Example #2
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 argument in the equality expression.</param>
 /// <param name="argument2">Is the second argument in the equality expression.</param>
 public static WhereAndChainer AndNot(this IWhereAnd prev, ScalarArgument argument1, ValueScalarArgument argument2)
 {
     return(new WhereAndChainer((Chainer)prev, argument1, argument2, false));
 }
Example #3
0
 /// <summary>
 /// Specifies a view (subquery) to test for the negation of the existence of rows.
 /// </summary>
 /// <param name="prev">A predecessor object.</param>
 /// <param name="nonSelectView">Is a subquery without the .Select method.</param>
 public static WhereAndChainer AndNotExists(this IWhereAnd prev, INonSelectView nonSelectView)
 {
     return(new WhereAndChainer((Chainer)prev, nonSelectView, false));
 }