AdapterExtensionMethods Methods |
The AdapterExtensionMethods type exposes the following members.
Name | Description | |
---|---|---|
FetchAsDataReader |
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.
| |
FetchAsProjection |
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.
| |
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.
| |
FetchQueryFromSourceTElement |
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.
| |
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.
|