AdapterExtensionMethods Class |
Namespace: SD.LLBLGen.Pro.QuerySpec.Adapter
The AdapterExtensionMethods type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | FetchAsDataReader |
Fetches the query as an open data reader.
|
![]() ![]() | FetchAsDataReaderAsync |
Async variant of FetchAsDataReader(IDataAccessAdapter, DynamicQuery, CommandBehavior).
Fetches the query as an open data reader.
|
![]() ![]() | FetchAsDataTable(IDataAccessAdapter, DynamicQuery) |
Fetches the specified query into a new DataTable specified and returns that datatable.
|
![]() ![]() | FetchAsDataTable(IDataAccessAdapter, DynamicQuery, DataTable) |
Fetches the specified query into the DataTable specified and returns that datatable.
|
![]() ![]() | FetchAsDataTableAsync(IDataAccessAdapter, DynamicQuery) |
Async variant of FetchAsDataTable(IDataAccessAdapter, DynamicQuery).
Fetches the specified query into a new DataTable specified and returns that datatable.
|
![]() ![]() | FetchAsDataTableAsync(IDataAccessAdapter, DynamicQuery, DataTable) |
Async variant of FetchAsDataTable(IDataAccessAdapter, DynamicQuery, DataTable).
Fetches the specified query into the DataTable specified and returns that datatable.
|
![]() ![]() | FetchAsDataTableAsync(IDataAccessAdapter, DynamicQuery, CancellationToken) |
Async variant of FetchAsDataTable(IDataAccessAdapter, DynamicQuery).
Fetches the specified query into a new DataTable specified and returns that datatable.
|
![]() ![]() | FetchAsDataTableAsync(IDataAccessAdapter, DynamicQuery, DataTable, CancellationToken) |
Async variant of FetchAsDataTable(IDataAccessAdapter, DynamicQuery, DataTable).
Fetches the specified query into the DataTable specified and returns that datatable.
|
![]() ![]() | FetchAsProjection |
Fetches the query as a projection, using the projector specified.
|
![]() ![]() | FetchAsProjectionAsync(IDataAccessAdapter, DynamicQuery, IGeneralDataProjector) |
Async variant of FetchAsProjection(IDataAccessAdapter, DynamicQuery, IGeneralDataProjector).
Fetches the query as a projection, using the projector specified.
|
![]() ![]() | FetchAsProjectionAsync(IDataAccessAdapter, DynamicQuery, IGeneralDataProjector, CancellationToken) |
Async variant of FetchAsProjection(IDataAccessAdapter, DynamicQuery, IGeneralDataProjector).
Fetches the query as a projection, using the projector specified.
|
![]() ![]() | FetchFirst<T>(IDataAccessAdapter, DynamicQuery<T>) |
Fetches the first object of the set returned by the query and returns that object, if any, otherwise null.
|
![]() ![]() | FetchFirst<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>) |
Fetches the first entity of the set returned by the query and returns that entity, if any, otherwise null.
|
![]() ![]() | FetchFirstAsync<T>(IDataAccessAdapter, DynamicQuery<T>) |
Async variant of FetchFirst<T>(IDataAccessAdapter, DynamicQuery<T>).
Fetches the first object of the set returned by the query and returns that object, if any, otherwise null.
|
![]() ![]() | FetchFirstAsync<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>) |
Async variant of FetchFirst<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>).
Fetches the first entity of the set returned by the query and returns that entity, if any, otherwise null.
|
![]() ![]() | FetchFirstAsync<T>(IDataAccessAdapter, DynamicQuery<T>, CancellationToken) |
Async variant of FetchFirst<T>(IDataAccessAdapter, DynamicQuery<T>).
Fetches the first object of the set returned by the query and returns that object, if any, otherwise null.
|
![]() ![]() | FetchFirstAsync<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>, CancellationToken) |
Async variant of FetchFirst<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>).
Fetches the first entity of the set returned by the query and returns that entity, if any, otherwise null.
|
![]() ![]() | FetchQuery(IDataAccessAdapter, DynamicQuery) |
Fetches the query specified and returns the results in plain object arrays, one object array per returned row of the query specified.
|
![]() ![]() | FetchQuery<TElement>(IDataAccessAdapter, DynamicQuery<TElement>) |
Fetches the query specified and returns the results in a list of TElement objects, which are created using the projectorFunc of the query specified.
|
![]() ![]() | FetchQuery<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>) |
Fetches the query specified on the adapter specified. Uses the TEntity type to produce an EntityCollection(Of TEntity) for the results to return
|
![]() ![]() | FetchQuery<TEntity, TCollection>(IDataAccessAdapter, EntityQuery<TEntity>, TCollection) |
Fetches the query specified on the adapter specified into the collectionToFill specified.
|
![]() ![]() | FetchQueryAsync(IDataAccessAdapter, DynamicQuery) |
Async variant of FetchQuery(IDataAccessAdapter, DynamicQuery).
Fetches the query specified and returns the results in plain object arrays, one object array per returned row of the query specified.
|
![]() ![]() | FetchQueryAsync(IDataAccessAdapter, DynamicQuery, CancellationToken) |
Async variant of FetchQuery(IDataAccessAdapter, DynamicQuery).
Fetches the query specified and returns the results in plain object arrays, one object array per returned row of the query specified.
|
![]() ![]() | FetchQueryAsync<TElement>(IDataAccessAdapter, DynamicQuery<TElement>) |
Async variant of FetchQuery<TElement>(IDataAccessAdapter, DynamicQuery<TElement>).
Fetches the query specified and returns the results in a list of TElement objects, which are created using the projectorFunc of the query specified.
|
![]() ![]() | FetchQueryAsync<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>) |
Async variant of FetchQuery<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>).
Fetches the query specified on the adapter specified. Uses the TEntity type to produce an EntityCollection(Of TEntity) for the results to return
|
![]() ![]() | FetchQueryAsync<TElement>(IDataAccessAdapter, DynamicQuery<TElement>, CancellationToken) |
Async variant of FetchQuery<TElement>(IDataAccessAdapter, DynamicQuery<TElement>).
Fetches the query specified and returns the results in a list of TElement objects, which are created using the projectorFunc of the query specified.
|
![]() ![]() | FetchQueryAsync<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>, CancellationToken) |
Async variant of FetchQuery<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>).
Fetches the query specified on the adapter specified. Uses the TEntity type to produce an EntityCollection(Of TEntity) for the results to return
|
![]() ![]() | FetchQueryAsync<TEntity, TCollection>(IDataAccessAdapter, EntityQuery<TEntity>, TCollection) |
Async variant of FetchQuery<TEntity, TCollection>(IDataAccessAdapter, EntityQuery<TEntity>, TCollection).
Fetches the query specified on the adapter specified into the collectionToFill specified.
|
![]() ![]() | FetchQueryAsync<TEntity, TCollection>(IDataAccessAdapter, EntityQuery<TEntity>, TCollection, CancellationToken) |
Async variant of FetchQuery<TEntity, TCollection>(IDataAccessAdapter, EntityQuery<TEntity>, TCollection).
Fetches the query specified on the adapter specified into the collectionToFill specified.
|
![]() ![]() | FetchQueryFromSource<TElement> |
Fetches the query with the projection specified from the source query specified. Typically used to fetch a typed view from a
stored procedure source.
|
![]() ![]() | FetchQueryFromSourceAsync<TElement>(IDataAccessAdapter, DynamicQuery<TElement>, IRetrievalQuery) |
Async variant of FetchQueryFromSource<TElement> (IDataAccessAdapter, DynamicQuery<TElement> , IRetrievalQuery)
Fetches the query which projection specified from the source query specified. Typically used to fetch a typed view from a stored procedure source.
|
![]() ![]() | FetchQueryFromSourceAsync<TElement>(IDataAccessAdapter, DynamicQuery<TElement>, IRetrievalQuery, CancellationToken) |
Async variant of FetchQueryFromSource<TElement> (IDataAccessAdapter, DynamicQuery<TElement> , IRetrievalQuery)
Fetches the query which projection specified from the source query specified. Typically used to fetch a typed view from a stored procedure source.
|
![]() ![]() | FetchScalar<TValue> |
Fetches a scalar value using the query specified, and returns this value typed as TValue, using a cast. The query specified will be converted to a
scalar query prior to execution.
|
![]() ![]() | FetchScalarAsync<TValue>(IDataAccessAdapter, DynamicQuery) |
Async variant of FetchScalar<TValue>(IDataAccessAdapter, DynamicQuery).
Fetches a scalar value using the query specified, and returns this value typed as TValue, using a cast. The query specified will be converted to a
scalar query prior to execution.
|
![]() ![]() | FetchScalarAsync<TValue>(IDataAccessAdapter, DynamicQuery, CancellationToken) |
Async variant of FetchScalar<TValue>(IDataAccessAdapter, DynamicQuery).
Fetches a scalar value using the query specified, and returns this value typed as TValue, using a cast. The query specified will be converted to a
scalar query prior to execution.
|
![]() ![]() | FetchSingle<T>(IDataAccessAdapter, DynamicQuery<T>) |
Fetches the single object of the set returned by the query and returns that object. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
|
![]() ![]() | FetchSingle<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>) |
Fetches the single entity of the set returned by the query and returns that entity. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
|
![]() ![]() | FetchSingleAsync<T>(IDataAccessAdapter, DynamicQuery<T>) |
Async variant of FetchSingle<T>(IDataAccessAdapter, DynamicQuery<T>).
Fetches the single object of the set returned by the query and returns that object. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
|
![]() ![]() | FetchSingleAsync<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>) |
Async variant of FetchSingle<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>).
Fetches the single entity of the set returned by the query and returns that entity. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
|
![]() ![]() | FetchSingleAsync<T>(IDataAccessAdapter, DynamicQuery<T>, CancellationToken) |
Async variant of FetchSingle<T>(IDataAccessAdapter, DynamicQuery<T>).
Fetches the single object of the set returned by the query and returns that object. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
|
![]() ![]() | FetchSingleAsync<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>, CancellationToken) |
Async variant of FetchSingle<TEntity>(IDataAccessAdapter, EntityQuery<TEntity>).
Fetches the single entity of the set returned by the query and returns that entity. If there are no elements or more than 1 element,
a NotSupportedException will be thrown.
|