AdapterExtensionMethods Methods |
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.
| |
FetchFirstT(IDataAccessAdapter, DynamicQueryT) |
Fetches the first object of the set returned by the query and returns that object, if any, otherwise null.
| |
FetchFirstTEntity(IDataAccessAdapter, EntityQueryTEntity) |
Fetches the first entity of the set returned by the query and returns that entity, if any, otherwise null.
| |
FetchFirstAsyncT(IDataAccessAdapter, DynamicQueryT) |
Async variant of FetchFirstT(IDataAccessAdapter, DynamicQueryT).
Fetches the first object of the set returned by the query and returns that object, if any, otherwise null.
| |
FetchFirstAsyncTEntity(IDataAccessAdapter, EntityQueryTEntity) |
Async variant of FetchFirstTEntity(IDataAccessAdapter, EntityQueryTEntity).
Fetches the first entity of the set returned by the query and returns that entity, if any, otherwise null.
| |
FetchFirstAsyncT(IDataAccessAdapter, DynamicQueryT, CancellationToken) |
Async variant of FetchFirstT(IDataAccessAdapter, DynamicQueryT).
Fetches the first object of the set returned by the query and returns that object, if any, otherwise null.
| |
FetchFirstAsyncTEntity(IDataAccessAdapter, EntityQueryTEntity, CancellationToken) |
Async variant of FetchFirstTEntity(IDataAccessAdapter, EntityQueryTEntity).
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.
| |
FetchQueryTElement(IDataAccessAdapter, DynamicQueryTElement) |
Fetches the query specified and returns the results in a list of TElement objects, which are created using the projectorFunc of the query specified.
| |
FetchQueryTEntity(IDataAccessAdapter, EntityQueryTEntity) |
Fetches the query specified on the adapter specified. Uses the TEntity type to produce an EntityCollection(Of TEntity) for the results to return
| |
FetchQueryTEntity, TCollection(IDataAccessAdapter, EntityQueryTEntity, 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.
| |
FetchQueryAsyncTElement(IDataAccessAdapter, DynamicQueryTElement) |
Async variant of FetchQueryTElement(IDataAccessAdapter, DynamicQueryTElement).
Fetches the query specified and returns the results in a list of TElement objects, which are created using the projectorFunc of the query specified.
| |
FetchQueryAsyncTEntity(IDataAccessAdapter, EntityQueryTEntity) |
Async variant of FetchQueryTEntity(IDataAccessAdapter, EntityQueryTEntity).
Fetches the query specified on the adapter specified. Uses the TEntity type to produce an EntityCollection(Of TEntity) for the results to return
| |
FetchQueryAsyncTElement(IDataAccessAdapter, DynamicQueryTElement, CancellationToken) |
Async variant of FetchQueryTElement(IDataAccessAdapter, DynamicQueryTElement).
Fetches the query specified and returns the results in a list of TElement objects, which are created using the projectorFunc of the query specified.
| |
FetchQueryAsyncTEntity(IDataAccessAdapter, EntityQueryTEntity, CancellationToken) |
Async variant of FetchQueryTEntity(IDataAccessAdapter, EntityQueryTEntity).
Fetches the query specified on the adapter specified. Uses the TEntity type to produce an EntityCollection(Of TEntity) for the results to return
| |
FetchQueryAsyncTEntity, TCollection(IDataAccessAdapter, EntityQueryTEntity, TCollection) |
Async variant of FetchQueryTEntity, TCollection(IDataAccessAdapter, EntityQueryTEntity, TCollection).
Fetches the query specified on the adapter specified into the collectionToFill specified.
| |
FetchQueryAsyncTEntity, TCollection(IDataAccessAdapter, EntityQueryTEntity, TCollection, CancellationToken) |
Async variant of FetchQueryTEntity, TCollection(IDataAccessAdapter, EntityQueryTEntity, TCollection).
Fetches the query specified on the adapter specified into the collectionToFill specified.
| |
FetchQueryFromSourceTElement |
Fetches the query with the projection specified from the source query specified. Typically used to fetch a typed view from a
stored procedure source.
| |
FetchQueryFromSourceAsyncTElement(IDataAccessAdapter, DynamicQueryTElement, IRetrievalQuery) |
Async variant of FetchQueryFromSourceTElement(IDataAccessAdapter, DynamicQueryTElement, IRetrievalQuery)
Fetches the query which projection specified from the source query specified. Typically used to fetch a typed view from a stored procedure source.
| |
FetchQueryFromSourceAsyncTElement(IDataAccessAdapter, DynamicQueryTElement, IRetrievalQuery, CancellationToken) |
Async variant of FetchQueryFromSourceTElement(IDataAccessAdapter, DynamicQueryTElement, IRetrievalQuery)
Fetches the query which projection specified from the source query specified. Typically used to fetch a typed view from a stored procedure source.
| |
FetchScalarTValue |
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.
| |
FetchScalarAsyncTValue(IDataAccessAdapter, DynamicQuery) |
Async variant of FetchScalarTValue(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.
| |
FetchScalarAsyncTValue(IDataAccessAdapter, DynamicQuery, CancellationToken) |
Async variant of FetchScalarTValue(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.
| |
FetchSingleT(IDataAccessAdapter, DynamicQueryT) |
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.
| |
FetchSingleTEntity(IDataAccessAdapter, EntityQueryTEntity) |
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.
| |
FetchSingleAsyncT(IDataAccessAdapter, DynamicQueryT) |
Async variant of FetchSingleT(IDataAccessAdapter, DynamicQueryT).
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.
| |
FetchSingleAsyncTEntity(IDataAccessAdapter, EntityQueryTEntity) |
Async variant of FetchSingleTEntity(IDataAccessAdapter, EntityQueryTEntity).
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.
| |
FetchSingleAsyncT(IDataAccessAdapter, DynamicQueryT, CancellationToken) |
Async variant of FetchSingleT(IDataAccessAdapter, DynamicQueryT).
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.
| |
FetchSingleAsyncTEntity(IDataAccessAdapter, EntityQueryTEntity, CancellationToken) |
Async variant of FetchSingleTEntity(IDataAccessAdapter, EntityQueryTEntity).
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.
|