1 write to Right
System.Data.Entity (1)
System\Data\Common\EntitySql\SemanticResolver.cs (1)
1676Right = right;
44 references to Right
System.Data.Entity (44)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (43)
1996if (operands.Right != null) 1998if (!TypeSemantics.IsNumericType(operands.Right.ResultType)) 2003if (null == TypeHelpers.GetCommonTypeUsage(operands.Left.ResultType, operands.Right.ResultType)) 2006operands.Left.ResultType.EdmType.FullName, operands.Right.ResultType.EdmType.FullName)); 2033if (!TypeSemantics.IsNumericType(operands.Right.ResultType) && !TypeSemantics.IsPrimitiveType(operands.Right.ResultType, PrimitiveTypeKind.String)) 2038if (TypeHelpers.GetCommonTypeUsage(operands.Left.ResultType, operands.Right.ResultType) == null) 2041operands.Left.ResultType.EdmType.FullName, operands.Right.ResultType.EdmType.FullName)); 2111if (!TypeSemantics.IsEqualComparableTo(compArgs.Left.ResultType, compArgs.Right.ResultType)) 2114compArgs.Left.ResultType.EdmType.FullName, compArgs.Right.ResultType.EdmType.FullName)); 2138if (!TypeSemantics.IsOrderComparableTo(compArgs.Left.ResultType, compArgs.Right.ResultType)) 2141compArgs.Left.ResultType.EdmType.FullName, compArgs.Right.ResultType.EdmType.FullName)); 4389return args.Left.Plus(args.Right); 4404argTypes.Add(args.Right.ResultType); 4418return concatFunction.Invoke(new[] { args.Left, args.Right }); 4432return args.Left.Minus(args.Right); 4444return args.Left.Multiply(args.Right); 4456return args.Left.Divide(args.Right); 4468return args.Left.Modulo(args.Right); 4516return args.Left.And(args.Right); 4529return args.Left.Or(args.Right); 4556return args.Left.Equal(args.Right); 4570return args.Left.Equal(args.Right).Not(); 4582return args.Left.GreaterThanOrEqual(args.Right); 4594return args.Left.GreaterThan(args.Right); 4606return args.Left.LessThanOrEqual(args.Right); 4618return args.Left.LessThan(args.Right); 4636return args.Left.UnionAll(args.Right).Distinct(); 4648return args.Left.UnionAll(args.Right); 4660return args.Left.Intersect(args.Right); 4672return args.Left.Intersect(args.Right).IsEmpty().Not(); 4704return args.Left.Except(args.Right); 4757if (args.Right.ExpressionKind == DbExpressionKind.NewInstance) 4759return ConvertSimpleInExpression(sr, args.Left, args.Right); 4763DbExpressionBinding rSet = args.Right.BindAs(sr.GenerateInternalName("in-filter")); 4792if (args.Right.ExpressionKind == DbExpressionKind.NewInstance) 4794return ConvertSimpleInExpression(sr, args.Left, args.Right).Not(); 4798DbExpressionBinding rSet = args.Right.BindAs(sr.GenerateInternalName("in-filter")); 5216TypeUsage rangeCommonType = TypeHelpers.GetCommonTypeUsage(limitsExpr.Left.ResultType, limitsExpr.Right.ResultType); 5219throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.BetweenLimitsTypesAreNotCompatible(limitsExpr.Left.ResultType.EdmType.FullName, limitsExpr.Right.ResultType.EdmType.FullName)); 5225if (!TypeSemantics.IsOrderComparableTo(limitsExpr.Left.ResultType, limitsExpr.Right.ResultType)) 5227throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.BetweenLimitsTypesAreNotOrderComparable(limitsExpr.Left.ResultType.EdmType.FullName, limitsExpr.Right.ResultType.EdmType.FullName)); 5247return valueExpr.GreaterThanOrEqual(limitsExpr.Left).And(valueExpr.LessThanOrEqual(limitsExpr.Right));
System\Data\Common\EntitySql\SemanticResolver.cs (1)
1684return new KeyValuePair<L, R>(Left, Right);