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.7.0.0 (5.7.0)
Syntax IPredicateExpression GetEntityTypeFilter(
bool negate,
string objectAlias
)
Function GetEntityTypeFilter (
negate As Boolean,
objectAlias As String
) As IPredicateExpression
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