internal WhereChainer(Chainer prev, ScalarArgument argument1, ValueScalarArgument argument2, bool equality, PredicateGroup predicateGroup = null) : base(prev, argument1, argument2, equality, predicateGroup) { Query.Clause.Wheres.Add(this); chainMethod = equality ? Text.Method.Where : Text.Method.WhereNot; }
internal ElseIfChainer(Chainer prev, ScalarArgument argument1, ValueScalarArgument argument2, bool equality) : this(prev, Expression.EqualitySimplifier(argument1, argument2, equality)) { CheckNullAndThrow(Arg(() => argument1, argument1)); TryTake(argument1); TryTake(argument2); }
/// <summary> /// Sets the argument's type. /// </summary> /// <param name="arg">Is an argument.</param> protected internal void SetArgType(ValueScalarArgument arg) { ArgType = typeof(ValueScalarArgument); SetDebugValue(arg, DebugSetter.Arg); }