Click or drag to resize
EntityFactoryCore2GetEntityTypeFilter 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.1.0.0 (5.1.0)
Syntax
public virtual 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.

Implements

IEntityFactory2GetEntityTypeFilter(Boolean, String)
See Also