Conditional DoWhile loop.
Namespace: Microsoft.Research.DryadLinq
Assembly: Microsoft.Research.DryadLinq (in Microsoft.Research.DryadLinq.dll) Version: 0.2.1.0 (0.2.1.0)
Syntax
public static IQueryable<T> DoWhile<T>( this IQueryable<T> source, Func<IQueryable<T>, IQueryable<T>> body, Func<IQueryable<T>, IQueryable<T>, IQueryable<bool>> cond )
Parameters
- source
- Type: System.Linq.IQueryable<T>
The input dataset - body
- Type: System.Func<IQueryable<T>, IQueryable<T>>
The code body of the DoWhile loop - cond
- Type: System.Func<IQueryable<T>, IQueryable<T>, IQueryable<Boolean>>
The termination condition of the DoWhile loop
Type Parameters
- T
- The type of the input records
Return Value
Type: IQueryable<T>The output dataset
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryable<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also