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.
|
![]() ![]() | 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.
|
![]() ![]() | 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.
|
![]() ![]() | FetchQueryFromSource<TElement> |
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.
|
![]() ![]() | 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.
|