ScalarQueryExpression Constructor (IEntityFieldCore, IPredicate, IRelationCollection, ISortExpression, IGroupByCollection, Boolean) | 
  
    Namespace: 
   SD.LLBLGen.Pro.ORMSupportClasses
    Assembly:
   SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntaxpublic ScalarQueryExpression(
	IEntityFieldCore selectField,
	IPredicate filterToUse,
	IRelationCollection relationsToUse,
	ISortExpression sorterToUse,
	IGroupByCollection groupByClause,
	bool forceRowLimit
)
Public Sub New ( 
	selectField As IEntityFieldCore,
	filterToUse As IPredicate,
	relationsToUse As IRelationCollection,
	sorterToUse As ISortExpression,
	groupByClause As IGroupByCollection,
	forceRowLimit As Boolean
)
Parameters
- selectField
 - Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFieldCore
The select field. - filterToUse
 - Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
The filter to use. - relationsToUse
 - Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The relations to use. - sorterToUse
 - Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
The sorter to use. - groupByClause
 - Type: SD.LLBLGen.Pro.ORMSupportClassesIGroupByCollection
The group by clause. - forceRowLimit
 - Type: SystemBoolean
If set to true, it will force a TOP 1 clause to be emitted into the SQL (or equivalent if the db doesn't support TOP) 
See Also