Click or drag to resize

IEntityFactory2GetEntityTypeFilter Method (Boolean, String)

Gets a predicateexpression which filters on the entity with type belonging to this factory. Uses the passed in objectAlias for aliasing the elements in the filters.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
IPredicateExpression GetEntityTypeFilter(
	bool negate,
	string objectAlias
)

Parameters

negate
Type: SystemBoolean
Flag to produce a NOT filter, (true), or a normal filter (false).
objectAlias
Type: SystemString
The object alias to use for the predicate(s).

Return Value

Type: IPredicateExpression
ready to use predicateexpression, or an empty predicate expression if the belonging entity isn't a hierarchical type.
See Also