Click or drag to resize

DerivedTableDefinition Constructor (IEnumerable, String, IPredicateExpression, IRelationCollection, ISortExpression, IGroupByCollection, Int64, Boolean)

Initializes a new instance of the DerivedTableDefinition class.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public DerivedTableDefinition(
	IEnumerable fields,
	string alias,
	IPredicateExpression filter,
	IRelationCollection relations,
	ISortExpression sorter,
	IGroupByCollection groupBy,
	long maxNumberOfItemsToReturn,
	bool allowDuplicates
)

Parameters

fields
Type: System.CollectionsIEnumerable
The fields which form the select list for the derived table.
alias
Type: SystemString
The alias for the derived table to use.
filter
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicateExpression
The filter to use in the derived table. Can be null.
relations
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The relations to use in the derived table. Can be null.
sorter
Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
The sort expression to use in the derived table. Can be null.
groupBy
Type: SD.LLBLGen.Pro.ORMSupportClassesIGroupByCollection
The group by collection to use in the derived table. Can be null.
maxNumberOfItemsToReturn
Type: SystemInt64
The max number of items to return. Specify 0 for all items.
allowDuplicates
Type: SystemBoolean
flag to signal if duplicates are allowed (true, default) or not (false)
See Also