Click or drag to resize
ScalarQueryExpression Constructor (IEntityFieldCore, IPredicate, IRelationCollection, ISortExpression, IGroupByCollection, Boolean)
Initializes a new instance of the ScalarQueryExpression class.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.1.0.0 (5.1.0)
Syntax
public ScalarQueryExpression(
	IEntityFieldCore selectField,
	IPredicate filterToUse,
	IRelationCollection relationsToUse,
	ISortExpression sorterToUse,
	IGroupByCollection groupByClause,
	bool forceRowLimit
)

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