示例#1
0
 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;
 }
示例#2
0
 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);
 }
示例#3
0
 /// <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);
 }