Click or drag to resize

ScalarQueryExpression Constructor (IEntityFieldCore, IPredicate, IRelationCollection, 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.4.0.0 (5.4.0)
Syntax
public ScalarQueryExpression(
	IEntityFieldCore selectField,
	IPredicate filterToUse,
	IRelationCollection relationsToUse,
	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.
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