internal VfpSkipExpression(TypeUsage resultType, VfpExpressionBinding input, ReadOnlyCollection <VfpSortClause> sortOrder, VfpExpression count) : base(VfpExpressionKind.Skip, resultType) { Input = ArgumentUtility.CheckNotNull("input", input); SortOrder = ArgumentUtility.CheckNotNull("sortOrder", sortOrder); Count = ArgumentUtility.CheckNotNull("count", count); }
internal VfpApplyExpression(VfpExpressionKind applyKind, TypeUsage resultRowCollectionTypeUsage, VfpExpressionBinding input, VfpExpressionBinding apply) : base(applyKind, resultRowCollectionTypeUsage) { Input = ArgumentUtility.CheckNotNull("input", input); Apply = ArgumentUtility.CheckNotNull("apply", apply); }
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; }
public static VfpSortExpression Sort(this VfpExpressionBinding input, IEnumerable <VfpSortClause> sortOrder) { return(new VfpSortExpression(input.Expression.ResultType, input, sortOrder.ToList().AsReadOnly())); }
public static VfpFilterExpression Filter(this VfpExpressionBinding input, VfpExpression predicate) { return(new VfpFilterExpression(input.Expression.ResultType, input, predicate)); }
public static VfpProjectExpression Project(this VfpExpressionBinding input, VfpExpression projection) { return(new VfpProjectExpression(input.Expression.ResultType, input, projection)); }
public static VfpJoinExpression Join(VfpExpressionKind kind, TypeUsage collectionOfRowResultType, VfpExpressionBinding left, VfpExpressionBinding right, VfpExpression joinCondition) { return(new VfpJoinExpression(kind, collectionOfRowResultType, left, right, joinCondition)); }
public static VfpJoinExpression InnerJoin(this VfpExpressionBinding left, VfpExpressionBinding right, VfpExpression joinCondition, TypeUsage collectionOfRowResultType) { return(Join(VfpExpressionKind.InnerJoin, collectionOfRowResultType, left, right, joinCondition)); }
public VfpFilterExpression(TypeUsage type, VfpExpressionBinding input, VfpExpression predicate) : base(VfpExpressionKind.Filter, type) { Input = ArgumentUtility.CheckNotNull("input", input); Predicate = ArgumentUtility.CheckNotNull("predicate", predicate); }
internal VfpProjectExpression(TypeUsage resultType, VfpExpressionBinding input, VfpExpression projection) : base(VfpExpressionKind.Project, resultType) { Input = ArgumentUtility.CheckNotNull("input", input);; Projection = ArgumentUtility.CheckNotNull("projection", projection);; }
public VfpDeleteCommandTree(VfpExpressionBinding target, VfpExpression predicate, IEnumerable <KeyValuePair <string, TypeUsage> > parameters) : base(target.Expression.ResultType, target, parameters) { Predicate = ArgumentUtility.CheckNotNull("predicate", predicate); }
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 VfpQuantifierExpression(VfpExpressionKind kind, TypeUsage booleanResultType, VfpExpressionBinding input, VfpExpression predicate) : base(kind, booleanResultType) { Input = ArgumentUtility.CheckNotNull("input", input); Predicate = ArgumentUtility.CheckNotNull("predicate", predicate); }
protected VfpModificationCommandTree(TypeUsage resultType, VfpExpressionBinding target, IEnumerable <KeyValuePair <string, TypeUsage> > parameters) : base(resultType, parameters) { Target = ArgumentUtility.CheckNotNull("target", target); }