QueryableExtensionMethodsExecuteAsync Method (IQueryable) |
Executes the specified IQueryable's asynchronously. Requires the IQueryable to implement ILLBLGenProQuery.
Namespace:
SD.LLBLGen.Pro.LinqSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax public static Task<Object> ExecuteAsync(
this IQueryable source
)
<ExtensionAttribute>
Public Shared Function ExecuteAsync (
source As IQueryable
) As Task(Of Object)
Parameters
- source
- Type: System.LinqIQueryable
The source.
Return Value
Type:
TaskObject
The results of source
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IQueryable. 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).
Exceptions Exception | Condition |
---|
ORMQueryExecutionException | source isn't implementing ILLBLGenProQuery. Can't execute the query asynchronously;null;null;null |
Remarks Not usable wrapped inside a Linq query. Use this method to execute a linq query asynchronously
See Also