Share via


ISqlConnectionService.DeferredQuery Method

Definition

Overloads

DeferredQuery<T,Q>(Func<ISqlConnection,IEnumerable<Q>>, Func<ISqlConnection,Q,T>)

Return a deferred query on our storage

DeferredQuery<T>(Func<ISqlConnection,IEnumerable<T>>)

Return a deferred query on our storage

DeferredQuery<T,Q>(Func<ISqlConnection,IEnumerable<Q>>, Func<ISqlConnection,Q,T>)

Return a deferred query on our storage

public:
generic <typename T, typename Q>
 Microsoft::VisualStudio::Workspace::Indexing::IDeferredQuery<T> ^ DeferredQuery(Func<Microsoft::VisualStudio::Workspace::Indexing::ISqlConnection ^, System::Collections::Generic::IEnumerable<Q> ^> ^ queryCallback, Func<Microsoft::VisualStudio::Workspace::Indexing::ISqlConnection ^, Q, T> ^ itemAdapter);
public Microsoft.VisualStudio.Workspace.Indexing.IDeferredQuery<T> DeferredQuery<T,Q> (Func<Microsoft.VisualStudio.Workspace.Indexing.ISqlConnection,System.Collections.Generic.IEnumerable<Q>> queryCallback, Func<Microsoft.VisualStudio.Workspace.Indexing.ISqlConnection,Q,T> itemAdapter);
abstract member DeferredQuery : Func<Microsoft.VisualStudio.Workspace.Indexing.ISqlConnection, seq<'Q>> * Func<Microsoft.VisualStudio.Workspace.Indexing.ISqlConnection, 'Q, 'T> -> Microsoft.VisualStudio.Workspace.Indexing.IDeferredQuery<'T>
Public Function DeferredQuery(Of T, Q) (queryCallback As Func(Of ISqlConnection, IEnumerable(Of Q)), itemAdapter As Func(Of ISqlConnection, Q, T)) As IDeferredQuery(Of T)

Type Parameters

T

Type of data being returned for each row

Q

Type of data being returned by the first query

Parameters

queryCallback
Func<ISqlConnection,IEnumerable<Q>>

First query callback

itemAdapter
Func<ISqlConnection,Q,T>

Adapter callback to return the result type

Returns

An instance of a IDeferredQuery instance

Applies to

DeferredQuery<T>(Func<ISqlConnection,IEnumerable<T>>)

Return a deferred query on our storage

public:
generic <typename T>
 Microsoft::VisualStudio::Workspace::Indexing::IDeferredQuery<T> ^ DeferredQuery(Func<Microsoft::VisualStudio::Workspace::Indexing::ISqlConnection ^, System::Collections::Generic::IEnumerable<T> ^> ^ queryCallback);
public Microsoft.VisualStudio.Workspace.Indexing.IDeferredQuery<T> DeferredQuery<T> (Func<Microsoft.VisualStudio.Workspace.Indexing.ISqlConnection,System.Collections.Generic.IEnumerable<T>> queryCallback);
abstract member DeferredQuery : Func<Microsoft.VisualStudio.Workspace.Indexing.ISqlConnection, seq<'T>> -> Microsoft.VisualStudio.Workspace.Indexing.IDeferredQuery<'T>
Public Function DeferredQuery(Of T) (queryCallback As Func(Of ISqlConnection, IEnumerable(Of T))) As IDeferredQuery(Of T)

Type Parameters

T

Type of data being returned for each row

Parameters

queryCallback
Func<ISqlConnection,IEnumerable<T>>

First query callback

Returns

An instance of a IDeferredQuery instance

Applies to