DbQuery<TResult> Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Executes a query against a database and populates an OutArgument with a list of the query results.

Namespace:  System.Activities.Core
Assembly:  System.Activities.Core (in System.Activities.Core.dll)


<ContentPropertyAttribute("Parameters")> _
Public NotInheritable Class DbQuery(Of TResult As New) _
    Inherits Activity
Dim instance As DbQuery(Of TResult)
public sealed class DbQuery<TResult> : Activity
where TResult : new()
generic<typename TResult>
where TResult : gcnew()
public ref class DbQuery sealed : public Activity
JScript does not support generic types or methods.
type DbQuery<'TResult when 'TResult : new()> =  
        inherit Activity

Type Parameters

  • TResult
    The type of the values returned in the result set.

Inheritance Hierarchy


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also


DbQuery<TResult> Members

System.Activities.Core Namespace