Click or drag to resize

SelfServicingExtensionMethods Class

Extension methods to make query execution possible on SelfServicing.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.QuerySpec.SelfServicingSelfServicingExtensionMethods

Namespace:  SD.LLBLGen.Pro.QuerySpec.SelfServicing
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax
public static class SelfServicingExtensionMethods

The SelfServicingExtensionMethods type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFetchAsDataReader
Fetches the query as an open data reader.
Public methodStatic memberFetchAsDataReaderAsync(IDao, ITransaction, DynamicQuery, CommandBehavior)
Async variant of FetchAsDataReader(IDao, ITransaction, DynamicQuery, CommandBehavior). Fetches the query as an open data reader.
Public methodStatic memberFetchAsDataReaderAsync(IDao, ITransaction, DynamicQuery, CommandBehavior, CancellationToken)
Async variant of FetchAsDataReader(IDao, ITransaction, DynamicQuery, CommandBehavior). Fetches the query as an open data reader.
Public methodStatic memberFetchAsDataTable(IDao, DynamicQuery)
Fetches the specified query into a new DataTable specified and returns that datatable.
Public methodStatic memberFetchAsDataTable(IDao, DynamicQuery, ITransaction)
Fetches the specified query into a new DataTable specified and returns that datatable.
Public methodStatic memberFetchAsDataTable(IDao, DynamicQuery, DataTable)
Fetches the specified query into the DataTable specified and returns that datatable.
Public methodStatic memberFetchAsDataTable(IDao, DynamicQuery, DataTable, ITransaction)
Fetches the specified query into the DataTable specified and returns that datatable.
Public methodStatic memberFetchAsDataTableAsync(IDao, DynamicQuery)
Async variant of FetchAsDataTable(IDao, DynamicQuery). Fetches the specified query into a new DataTable specified and returns that datatable.
Public methodStatic memberFetchAsDataTableAsync(IDao, DynamicQuery, ITransaction)
Async variant of FetchAsDataTable(IDao, DynamicQuery, ITransaction). Fetches the specified query into a new DataTable specified and returns that datatable.
Public methodStatic memberFetchAsDataTableAsync(IDao, DynamicQuery, DataTable)
Async variant of FetchAsDataTable(IDao, DynamicQuery, DataTable). Fetches the specified query into the DataTable specified and returns that datatable.
Public methodStatic memberFetchAsDataTableAsync(IDao, DynamicQuery, CancellationToken)
Async variant of FetchAsDataTable(IDao, DynamicQuery). Fetches the specified query into a new DataTable specified and returns that datatable.
Public methodStatic memberFetchAsDataTableAsync(IDao, DynamicQuery, ITransaction, CancellationToken)
Async variant of FetchAsDataTable(IDao, DynamicQuery, ITransaction). Fetches the specified query into a new DataTable specified and returns that datatable.
Public methodStatic memberFetchAsDataTableAsync(IDao, DynamicQuery, DataTable, ITransaction)
Async variant of FetchAsDataTable(IDao, DynamicQuery, DataTable, ITransaction). Fetches the specified query into the DataTable specified and returns that datatable.
Public methodStatic memberFetchAsDataTableAsync(IDao, DynamicQuery, DataTable, CancellationToken)
Async variant of FetchAsDataTable(IDao, DynamicQuery, DataTable). Fetches the specified query into the DataTable specified and returns that datatable.
Public methodStatic memberFetchAsDataTableAsync(IDao, DynamicQuery, DataTable, ITransaction, CancellationToken)
Async variant of FetchAsDataTable(IDao, DynamicQuery, DataTable, ITransaction). 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 memberFetchAsProjectionAsync(IDao, ITransaction, DynamicQuery, IGeneralDataProjector)
Async variant of FetchAsProjection(IDao, ITransaction, DynamicQuery, IGeneralDataProjector). Fetches the query as a projection, using the projector specified.
Public methodStatic memberFetchAsProjectionAsync(IDao, ITransaction, DynamicQuery, IGeneralDataProjector, CancellationToken)
Async variant of FetchAsProjection(IDao, ITransaction, DynamicQuery, IGeneralDataProjector). Fetches the query as a projection, using the projector specified.
Public methodStatic memberFetchQuery(IDao, 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 memberFetchQuery(IDao, DynamicQuery, ITransaction)
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(IDao, 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 memberFetchQueryTElement(IDao, DynamicQueryTElement, ITransaction)
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 memberFetchQueryAsync(IDao, DynamicQuery)
Async variant of FetchQuery(IDao, 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 memberFetchQueryAsync(IDao, DynamicQuery, ITransaction)
Async variant of FetchQuery(IDao, DynamicQuery, ITransaction). Fetches the query specified and returns the results in plain object arrays, one object array per returned row of the query specified.
Public methodStatic memberFetchQueryAsync(IDao, DynamicQuery, CancellationToken)
Async variant of FetchQuery(IDao, 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 memberFetchQueryAsync(IDao, DynamicQuery, ITransaction, CancellationToken)
Async variant of FetchQuery(IDao, DynamicQuery, ITransaction). Fetches the query specified and returns the results in plain object arrays, one object array per returned row of the query specified.
Public methodStatic memberFetchQueryAsyncTElement(IDao, DynamicQueryTElement)
Public methodStatic memberFetchQueryAsyncTElement(IDao, DynamicQueryTElement, ITransaction)
Public methodStatic memberFetchQueryAsyncTElement(IDao, DynamicQueryTElement, CancellationToken)
Public methodStatic memberFetchQueryAsyncTElement(IDao, DynamicQueryTElement, ITransaction, CancellationToken)
Public methodStatic memberFetchQueryFromSourceTElement(IDao, 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.
Public methodStatic memberFetchQueryFromSourceTElement(IDao, DynamicQueryTElement, IRetrievalQuery, ITransaction)
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 memberFetchQueryFromSourceAsyncTElement(IDao, DynamicQueryTElement, IRetrievalQuery)
Public methodStatic memberFetchQueryFromSourceAsyncTElement(IDao, DynamicQueryTElement, IRetrievalQuery, ITransaction)
Public methodStatic memberFetchQueryFromSourceAsyncTElement(IDao, DynamicQueryTElement, IRetrievalQuery, CancellationToken)
Public methodStatic memberFetchQueryFromSourceAsyncTElement(IDao, DynamicQueryTElement, IRetrievalQuery, ITransaction, CancellationToken)
Public methodStatic memberGetFirstTEntity(EntityQueryTEntity)
Fetches the first entity of the set returned by the query and returns that entity, if any, otherwise null.
Public methodStatic memberGetFirstTEntity(EntityQueryTEntity, ITransaction)
Fetches the first entity of the set returned by the query and returns that entity, if any, otherwise null.
Public methodStatic memberGetFirstT(IDao, DynamicQueryT)
Fetches the first object of the set returned by the query and returns that object, if any, otherwise null.
Public methodStatic memberGetFirstT(IDao, DynamicQueryT, ITransaction)
Fetches the first object of the set returned by the query and returns that object, if any, otherwise null.
Public methodStatic memberGetFirstAsyncTEntity(EntityQueryTEntity)
Public methodStatic memberGetFirstAsyncTEntity(EntityQueryTEntity, ITransaction)
Public methodStatic memberGetFirstAsyncTEntity(EntityQueryTEntity, CancellationToken)
Public methodStatic memberGetFirstAsyncT(IDao, DynamicQueryT)
Public methodStatic memberGetFirstAsyncTEntity(EntityQueryTEntity, ITransaction, CancellationToken)
Public methodStatic memberGetFirstAsyncT(IDao, DynamicQueryT, ITransaction)
Public methodStatic memberGetFirstAsyncT(IDao, DynamicQueryT, CancellationToken)
Public methodStatic memberGetFirstAsyncT(IDao, DynamicQueryT, ITransaction, CancellationToken)
Public methodStatic memberGetMultiTEntity
Fetches the query specified into the collection specified.
Public methodStatic memberGetMultiAsyncTEntity(IEntityCollection, EntityQueryTEntity)
Public methodStatic memberGetMultiAsyncTEntity(IEntityCollection, EntityQueryTEntity, CancellationToken)
Public methodStatic memberGetScalarTValue(IDao, 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.
Public methodStatic memberGetScalarTValue(IDao, DynamicQuery, ITransaction)
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 memberGetScalarAsyncTValue(IDao, DynamicQuery)
Async variant of GetScalarTValue(IDao, 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.
Public methodStatic memberGetScalarAsyncTValue(IDao, DynamicQuery, ITransaction)
Async variant of GetScalarTValue(IDao, DynamicQuery, ITransaction). 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 memberGetScalarAsyncTValue(IDao, DynamicQuery, CancellationToken)
Async variant of GetScalarTValue(IDao, 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.
Public methodStatic memberGetScalarAsyncTValue(IDao, DynamicQuery, ITransaction, CancellationToken)
Async variant of GetScalarTValue(IDao, DynamicQuery, ITransaction). 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 memberGetSingleTEntity(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.
Public methodStatic memberGetSingleTEntity(EntityQueryTEntity, ITransaction)
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.
Public methodStatic memberGetSingleT(IDao, 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 memberGetSingleT(IDao, DynamicQueryT, ITransaction)
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 memberGetSingleAsyncTEntity(EntityQueryTEntity)
Public methodStatic memberGetSingleAsyncTEntity(EntityQueryTEntity, ITransaction)
Public methodStatic memberGetSingleAsyncTEntity(EntityQueryTEntity, CancellationToken)
Public methodStatic memberGetSingleAsyncT(IDao, DynamicQueryT)
Public methodStatic memberGetSingleAsyncTEntity(EntityQueryTEntity, ITransaction, CancellationToken)
Public methodStatic memberGetSingleAsyncT(IDao, DynamicQueryT, ITransaction)
Public methodStatic memberGetSingleAsyncT(IDao, DynamicQueryT, CancellationToken)
Public methodStatic memberGetSingleAsyncT(IDao, DynamicQueryT, ITransaction, CancellationToken)
Top
See Also