IDataAccessAdapterFetchTypedList Method (ITypedListLgp2, IPredicateExpression) |
Fetches the fields passed in fieldCollectionToFetch from the persistent storage using the relations and filter information stored in
the passed in typed list.
For TypedView filling, use the method FetchTypedView()
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax void FetchTypedList(
ITypedListLgp2 typedListToFill,
IPredicateExpression additionalFilter
)
Sub FetchTypedList (
typedListToFill As ITypedListLgp2,
additionalFilter As IPredicateExpression
)
Parameters
- typedListToFill
- Type: SD.LLBLGen.Pro.ORMSupportClassesITypedListLgp2
Typed list to fill. - additionalFilter
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicateExpression
An additional filter to use to filter the fetch of the typed list. If you need a more sophisticated
filter approach, please use the overload which accepts an IRelationalPredicateBucket and add your filter to the bucket you receive
when calling typedListToFill.GetRelationInfo().
Remarks Grabs the fields list and relations set from the typed list passed in.
See Also