Click or drag to resize

IDataAccessAdapterFetchTypedView Method (IEntityFields2, DataTable, IRelationPredicateBucket, Boolean)

Fetches the Typed View fields passed in fieldCollectionToFetch from the persistent storage using the filter information stored in filterBucket into the DataTable object passed in. Doesn't apply any sorting, doesn't limit the amount of rows returned by the query. Use this routine to fill a TypedView object.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
void FetchTypedView(
	IEntityFields2 fieldCollectionToFetch,
	DataTable dataTableToFill,
	IRelationPredicateBucket filterBucket,
	bool allowDuplicates
)

Parameters

fieldCollectionToFetch
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFields2
IEntityField2 collection which contains the fields of the typed view to fetch into the datatable.
dataTableToFill
Type: System.DataDataTable
The datatable object to fill with the data for the fields in fieldCollectionToFetch
filterBucket
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationPredicateBucket
filter information (relations and predicate expressions) for retrieving the data. Use the TypedList's method GetRelationInfo() to retrieve this bucket.
allowDuplicates
Type: SystemBoolean
When true, it will not filter out duplicate rows, otherwise it will DISTINCT duplicate rows.
See Also