コード例 #1
0
 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);
 }
コード例 #2
0
 internal VfpApplyExpression(VfpExpressionKind applyKind,
                             TypeUsage resultRowCollectionTypeUsage,
                             VfpExpressionBinding input,
                             VfpExpressionBinding apply)
     : base(applyKind, resultRowCollectionTypeUsage)
 {
     Input = ArgumentUtility.CheckNotNull("input", input);
     Apply = ArgumentUtility.CheckNotNull("apply", apply);
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 public static VfpSortExpression Sort(this VfpExpressionBinding input, IEnumerable <VfpSortClause> sortOrder)
 {
     return(new VfpSortExpression(input.Expression.ResultType, input, sortOrder.ToList().AsReadOnly()));
 }
コード例 #5
0
 public static VfpFilterExpression Filter(this VfpExpressionBinding input, VfpExpression predicate)
 {
     return(new VfpFilterExpression(input.Expression.ResultType, input, predicate));
 }
コード例 #6
0
 public static VfpProjectExpression Project(this VfpExpressionBinding input, VfpExpression projection)
 {
     return(new VfpProjectExpression(input.Expression.ResultType, input, projection));
 }
コード例 #7
0
 public static VfpJoinExpression Join(VfpExpressionKind kind, TypeUsage collectionOfRowResultType, VfpExpressionBinding left, VfpExpressionBinding right, VfpExpression joinCondition)
 {
     return(new VfpJoinExpression(kind, collectionOfRowResultType, left, right, joinCondition));
 }
コード例 #8
0
 public static VfpJoinExpression InnerJoin(this VfpExpressionBinding left, VfpExpressionBinding right, VfpExpression joinCondition, TypeUsage collectionOfRowResultType)
 {
     return(Join(VfpExpressionKind.InnerJoin, collectionOfRowResultType, left, right, joinCondition));
 }
コード例 #9
0
 public VfpFilterExpression(TypeUsage type, VfpExpressionBinding input, VfpExpression predicate)
     : base(VfpExpressionKind.Filter, type)
 {
     Input     = ArgumentUtility.CheckNotNull("input", input);
     Predicate = ArgumentUtility.CheckNotNull("predicate", predicate);
 }
コード例 #10
0
 internal VfpProjectExpression(TypeUsage resultType, VfpExpressionBinding input, VfpExpression projection)
     : base(VfpExpressionKind.Project, resultType)
 {
     Input      = ArgumentUtility.CheckNotNull("input", input);;
     Projection = ArgumentUtility.CheckNotNull("projection", projection);;
 }
コード例 #11
0
 public VfpDeleteCommandTree(VfpExpressionBinding target, VfpExpression predicate, IEnumerable <KeyValuePair <string, TypeUsage> > parameters)
     : base(target.Expression.ResultType, target, parameters)
 {
     Predicate = ArgumentUtility.CheckNotNull("predicate", predicate);
 }
コード例 #12
0
 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);
 }
コード例 #13
0
 internal VfpQuantifierExpression(VfpExpressionKind kind, TypeUsage booleanResultType, VfpExpressionBinding input, VfpExpression predicate)
     : base(kind, booleanResultType)
 {
     Input     = ArgumentUtility.CheckNotNull("input", input);
     Predicate = ArgumentUtility.CheckNotNull("predicate", predicate);
 }
コード例 #14
0
 protected VfpModificationCommandTree(TypeUsage resultType, VfpExpressionBinding target, IEnumerable <KeyValuePair <string, TypeUsage> > parameters)
     : base(resultType, parameters)
 {
     Target = ArgumentUtility.CheckNotNull("target", target);
 }