Fetches the fields passed in fieldCollectionToFetch from the persistent storage using the relations and filter information stored in filterBucket into the DataTable object passed in. Use this routine to fill a typed list object. Doesn't apply any sorting, doesn't limit the resultset on the amount of rows to return, does allow duplicates. For TypedView filling, use the method FetchTypedView().

Namespace: MonoSoftware.LLBLGen
Assembly: MonoSoftware.LLBLGen (in MonoSoftware.LLBLGen.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
public virtual void FetchTypedList(
	IEntityFields2 fieldCollectionToFetch,
	DataTable dataTableToFill,
	IRelationPredicateBucket filterBucket
)
Visual Basic
Public Overridable Sub FetchTypedList ( 
	fieldCollectionToFetch As IEntityFields2,
	dataTableToFill As DataTable,
	filterBucket As IRelationPredicateBucket
)
Visual C++
public:
virtual void FetchTypedList(
	IEntityFields2^ fieldCollectionToFetch, 
	DataTable^ dataTableToFill, 
	IRelationPredicateBucket^ filterBucket
)
F#
abstract FetchTypedList : 
        fieldCollectionToFetch : IEntityFields2 * 
        dataTableToFill : DataTable * 
        filterBucket : IRelationPredicateBucket -> unit 
override FetchTypedList : 
        fieldCollectionToFetch : IEntityFields2 * 
        dataTableToFill : DataTable * 
        filterBucket : IRelationPredicateBucket -> unit 

Parameters

fieldCollectionToFetch
Type: IEntityFields2
IEntityField2 collection which contains the fields to fetch into the datatable. The fields inside this object are used to construct the selection resultset.
dataTableToFill
Type: System.Data..::..DataTable
The datatable object to fill with the data for the fields in fieldCollectionToFetch.
filterBucket
Type: IRelationPredicateBucket
filter information (relations and predicate expressions) for retrieving the data. Use the TypedList's method GetRelationInfo() to retrieve this bucket.

Implements

IRepository..::..FetchTypedList(IEntityFields2, DataTable, IRelationPredicateBucket)

See Also