DerivedTableDefinition Constructor (IEnumerable, String, IPredicateExpression, IRelationCollection, ISortExpression, IGroupByCollection, Int64, Boolean) |
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public DerivedTableDefinition(
IEnumerable fields,
string alias,
IPredicateExpression filter,
IRelationCollection relations,
ISortExpression sorter,
IGroupByCollection groupBy,
long maxNumberOfItemsToReturn,
bool allowDuplicates
)
Public Sub New (
fields As IEnumerable,
alias As String,
filter As IPredicateExpression,
relations As IRelationCollection,
sorter As ISortExpression,
groupBy As IGroupByCollection,
maxNumberOfItemsToReturn As Long,
allowDuplicates As Boolean
)
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