internal VfpJoinExpression(VfpExpressionKind kind, TypeUsage collectionOfRowResultType, VfpExpressionBinding left, VfpExpressionBinding right, VfpExpression condition) : base(kind, collectionOfRowResultType) { Left = ArgumentUtility.CheckNotNull("left", left); Right = ArgumentUtility.CheckNotNull("right", right); JoinCondition = ArgumentUtility.CheckNotNull("condition", condition); }
internal VfpLikeExpression(TypeUsage resultType, VfpExpression argument, VfpExpression pattern, VfpExpression escape) : base(VfpExpressionKind.Like, resultType) { Argument = ArgumentUtility.CheckNotNull("argument", argument); Pattern = ArgumentUtility.CheckNotNull("pattern", pattern); Escape = ArgumentUtility.CheckNotNull("escape", escape); }
internal VfpLimitExpression(TypeUsage resultType, VfpExpression argument, VfpExpression limit, bool withTies) : base(VfpExpressionKind.Limit, resultType) { Argument = ArgumentUtility.CheckNotNull("argument", argument); Limit = ArgumentUtility.CheckNotNull("limit", limit); WithTies = withTies; }
public VfpXmlToCursorExpression(VfpExpression property, VfpExpression parameter, string cursorName, Type itemType) : base(VfpExpressionKind.XmlToCursor, PrimitiveTypeKind.Boolean.ToTypeUsage()) { Property = ArgumentUtility.CheckNotNull("property", property); Parameter = ArgumentUtility.CheckNotNull("parameter", parameter); CursorName = ArgumentUtility.CheckNotNullOrEmpty("cursorName", cursorName); ItemType = ArgumentUtility.CheckNotNull("itemType", itemType); }
public VfpInsertCommandTree(VfpExpressionBinding target, ReadOnlyCollection <VfpSetClause> setClauses, IEnumerable <KeyValuePair <string, TypeUsage> > parameters, VfpExpression returning = null) : base(target.Expression.ResultType, target, parameters) { SetClauses = ArgumentUtility.CheckNotNull("setClauses", setClauses); Returning = returning; }
internal VfpCaseExpression(TypeUsage commonResultType, VfpExpressionList whenExpressions, VfpExpressionList thenExpressions, VfpExpression elseExpression) : base(VfpExpressionKind.Case, commonResultType) { When = ArgumentUtility.CheckNotNull("whenExpressions", whenExpressions); Then = ArgumentUtility.CheckNotNull("thenExpressions", thenExpressions); Else = ArgumentUtility.CheckNotNull("elseExpression", elseExpression); }
public static VfpExpressionBinding BindAs(this VfpExpression input, string variableName) { var variable = input.ResultType.Variable(variableName); return(BindAs(input, variable)); }
public static VfpComparisonExpression LessThan(this VfpExpression left, VfpExpression right) { return(new VfpComparisonExpression(VfpExpressionKind.LessThan, left.ResultType, left, right)); }
public static VfpNotExpression Not(this VfpExpression argument, TypeUsage resultType) { return(new VfpNotExpression(resultType, argument)); }
public static VfpLikeExpression Like(TypeUsage resultType, VfpExpression argument, VfpExpression pattern, VfpExpression escape) { return(new VfpLikeExpression(resultType, argument, pattern, escape)); }
public static VfpXmlToCursorExpression XmlToCursor(VfpExpression property, VfpExpression parameter, string cursorName, Type itemType) { return(new VfpXmlToCursorExpression(property, parameter, cursorName, itemType)); }
public static VfpXmlToCursorPropertyExpression XmlToCursorProperty(TypeUsage type, VfpExpression instance) { return(new VfpXmlToCursorPropertyExpression(type, instance)); }
internal VfpXmlToCursorPropertyExpression(TypeUsage resultType, VfpExpression instance) : base(VfpExpressionKind.XmlToCursorProperty, resultType) { Instance = ArgumentUtility.CheckNotNull("instance", instance); }
protected VfpUnaryExpression(VfpExpressionKind kind, TypeUsage resultType, VfpExpression argument) : base(kind, resultType) { Argument = ArgumentUtility.CheckNotNull("argument", argument); }
public VfpQueryCommandTree(VfpExpression query, IEnumerable <KeyValuePair <string, TypeUsage> > parameters) : base(query.ResultType, parameters) { Query = ArgumentUtility.CheckNotNull("query", query); }
public static VfpAndExpression And(this VfpExpression left, VfpExpression right) { return(new VfpAndExpression(left.ResultType, left, right)); }
//public static VfpAndExpression And(TypeUsage type, VfpExpression left, VfpExpression right) { // return new VfpAndExpression(type, left, right); //} public static VfpLikeCExpression LikeC(TypeUsage type, VfpExpression argument, VfpExpression pattern) { return(new VfpLikeCExpression(type, argument, pattern)); }
internal VfpIsEmptyExpression(TypeUsage booleanResultType, VfpExpression argument) : base(VfpExpressionKind.IsEmpty, booleanResultType, argument) { }
public static VfpXmlToCursorScanExpression XmlToCursorScan(VfpExpression parameter, string cursorName) { return(new VfpXmlToCursorScanExpression(parameter, cursorName)); }
internal VfpRefExpression(TypeUsage refResultType, EntitySet entitySet, VfpExpression refKeys) : base(VfpExpressionKind.Ref, refResultType, refKeys) { EntitySet = ArgumentUtility.CheckNotNull("entitySet", entitySet); }
public static VfpInExpression In(this VfpExpression expression, VfpExpressionList list) { return(new VfpInExpression(expression.ResultType, expression, list)); }
public static VfpExpressionBinding BindAs(this VfpExpression input, VfpVariableReferenceExpression variable) { return(new VfpExpressionBinding(input, variable)); }
public static VfpPropertyExpression Property(this VfpExpression expression, TypeUsage resultType, EdmMember property) { return(new VfpPropertyExpression(resultType, property, expression)); }
public static VfpJoinExpression InnerJoin(this VfpExpressionBinding left, VfpExpressionBinding right, VfpExpression joinCondition, TypeUsage collectionOfRowResultType) { return(Join(VfpExpressionKind.InnerJoin, collectionOfRowResultType, left, right, joinCondition)); }
public static VfpCastExpression Cast(this VfpExpression expression, TypeUsage type) { return(new VfpCastExpression(type, expression)); }
public static VfpJoinExpression Join(VfpExpressionKind kind, TypeUsage collectionOfRowResultType, VfpExpressionBinding left, VfpExpressionBinding right, VfpExpression joinCondition) { return(new VfpJoinExpression(kind, collectionOfRowResultType, left, right, joinCondition)); }
public static VfpComparisonExpression ExpressionEquals(this VfpExpression left, VfpExpression right) { return(new VfpComparisonExpression(VfpExpressionKind.Equals, left.ResultType, left, right)); }
public static VfpProjectExpression Project(this VfpExpressionBinding input, VfpExpression projection) { return(new VfpProjectExpression(input.Expression.ResultType, input, projection)); }
internal VfpNotExpression(TypeUsage resultType, VfpExpression argument) : base(VfpExpressionKind.Not, resultType, argument) { }
public static VfpFilterExpression Filter(this VfpExpressionBinding input, VfpExpression predicate) { return(new VfpFilterExpression(input.Expression.ResultType, input, predicate)); }