DataAccessAdapterCoreFetchTypedView Method (ITypedView2, IRelationPredicateBucket, Int32, ISortExpression, Boolean, IGroupByCollection) |
Fetches the Typed View passed in from the persistent storage
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax public void FetchTypedView(
ITypedView2 typedViewToFill,
IRelationPredicateBucket filterBucket,
int maxNumberOfItemsToReturn,
ISortExpression sortClauses,
bool allowDuplicates,
IGroupByCollection groupByClause
)
Public Sub FetchTypedView (
typedViewToFill As ITypedView2,
filterBucket As IRelationPredicateBucket,
maxNumberOfItemsToReturn As Integer,
sortClauses As ISortExpression,
allowDuplicates As Boolean,
groupByClause As IGroupByCollection
)
Parameters
- typedViewToFill
- Type: SD.LLBLGen.Pro.ORMSupportClassesITypedView2
Typed view to fill. - filterBucket
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationPredicateBucket
filter information (relations and predicate expressions) for retrieving the data. - maxNumberOfItemsToReturn
- Type: SystemInt32
The maximum amount of rows to return. If 0, all rows matching the filter are returned - sortClauses
- Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
SortClause expression which is applied to the query executed, sorting the fetch result. - allowDuplicates
- Type: SystemBoolean
When true, it will not filter out duplicate rows, otherwise it will DISTINCT duplicate rows. - groupByClause
- Type: SD.LLBLGen.Pro.ORMSupportClassesIGroupByCollection
GroupByCollection with fields to group by on
Implements
IDataAccessAdapterFetchTypedView(ITypedView2, IRelationPredicateBucket, Int32, ISortExpression, Boolean, IGroupByCollection)Remarks To fill a DataTable with entity rows, use this method as well, by passing the Fields collection of an entity of the same type
as the one you want to fetch as fieldCollectionToFetch.
See Also