Share via


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)

Syntax

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

Type Parameters

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

Inheritance Hierarchy

System.Object
  System.Activities.WorkflowElement
    System.Activities.Activity
      System.Activities.Core.DbQuery<TResult>

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.

Platforms

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

Reference

DbQuery<TResult> Members

System.Activities.Core Namespace