Click or drag to resize
AdapterExtensionMethods Methods

The AdapterExtensionMethods type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFetchAsDataReader
Fetches the query as an open data reader.
Public methodStatic memberFetchAsDataTable(IDataAccessAdapter, DynamicQuery)
Fetches the specified query into a new DataTable specified and returns that datatable.
Public methodStatic memberFetchAsDataTable(IDataAccessAdapter, DynamicQuery, DataTable)
Fetches the specified query into the DataTable specified and returns that datatable.
Public methodStatic memberFetchAsProjection
Fetches the query as a projection, using the projector specified.
Public methodStatic memberFetchFirstT(IDataAccessAdapter, DynamicQueryT)
Fetches the first object of the set returned by the query and returns that object, if any, otherwise null.
Public methodStatic memberFetchFirstTEntity(IDataAccessAdapter, EntityQueryTEntity)
Fetches the first entity of the set returned by the query and returns that entity, if any, otherwise null.
Public methodStatic memberFetchQuery(IDataAccessAdapter, DynamicQuery)
Fetches the query specified and returns the results in plain object arrays, one object array per returned row of the query specified.
Public methodStatic memberFetchQueryTElement(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.
Public methodStatic memberFetchQueryTEntity(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
Public methodStatic memberFetchQueryTEntity, TCollection(IDataAccessAdapter, EntityQueryTEntity, TCollection)
Fetches the query specified on the adapter specified into the collectionToFill specified.
Public methodStatic memberFetchQueryFromSourceTElement
Fetches the query which projection specified from the source query specified. Typically used to fetch a typed view from a stored procedure source.
Public methodStatic memberFetchScalarTValue
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.
Public methodStatic memberFetchSingleT(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.
Public methodStatic memberFetchSingleTEntity(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.
Top
See Also