DryadLinqExtensionDoWhileT Method (IQueryableT, FuncIQueryableT, IQueryableT, FuncIQueryableT, IQueryableT, IQueryableBoolean)DryadLINQ documentation
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.LinqIQueryableT
The input dataset
body
Type: SystemFuncIQueryableT, IQueryableT
The code body of the DoWhile loop
cond
Type: SystemFuncIQueryableT, IQueryableT, IQueryableBoolean
The termination condition of the DoWhile loop

Type Parameters

T
The type of the input records

Return Value

Type: IQueryableT
The output dataset

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryableT. 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

Reference